Revising the Select Query - 2

Problem Name:
Revising the Select Query - 2
Site:HackerRank
Links:
Tags:
Problem setters: