SQL queries qns3 completed