SQL strengths
- Window functions (ROW_NUMBER, RANK, LAG, LEAD) solve 'top per group' and 'delta' questions in one query.
- Common Table Expressions (CTEs) let you stage complex queries readably — interviewers reward readability heavily.
- Self-joins handle pair-matching and hierarchical problems cleanly.