add query view