Completing a simple working view and query