Mphasis interview question

Basic SQL queries