Infosys Interview Question

Queries for database in SQL