add a query view