Worked on Sql Queries