Revising the Select Query II | SQL Basic Select | HackerRank Solution