ZS Associates Interview Question

SQL queries, puzzles, DBMS, Scenarios