Revising the Select Query I SQL1