Virtusa interview question

SQL queries