Why These 25?
Hand-curated for maximum interview ROI.
Subqueries First, CTEs Second
A deliberate inversion of how most courses teach this. You start with EXISTS, NOT IN, scalar and correlated subqueries — then graduate to single CTE → multi-CTE → multi-step business scorecards. You learn why CTEs win.
Multi-CTE Business Scorecards
The capstone stage drills the 2–4 CTE multi-step pipelines that appear in real DS/DA onsite questions — CTE + window function combos, set intersection/difference, multi-tier classification. Industry-grade schemas, real ambiguity, the actual interview shape.
Both Dialects, Same Editor
Toggle SQLite and PostgreSQL on any problem. CTE syntax is portable, but the small dialect quirks (aggregation in HAVING, type coercion in scalar subqueries) catch candidates off guard in real interviews — you see them side-by-side here.
Skill Coverage
How the 25 problems distribute across SQL topics.
FAQ
Helpful but not required.
If you can write basic SELECT/JOIN/GROUP BY and have seen the WITH keyword in passing, start here.
Stage 1 begins with simple scalar subqueries to ease you in.
Ready to Master SQL?
Start with Stage 1 — graded instantly in your browser.
All company names, logos, and trademarks are the property of their respective owners. Their use is for identification purposes only and does not imply endorsement.