Added sql query 1 solution (query1.sql)