added sql query 3
Query 3 coded up