assignment2 add query 9-2 with view