Free lessons
SQL Lessons
Every lesson in the SQL practice course, free to read. Each skill has a lesson that starts simple and gets technical, and a quick revise page. Practice and progress tracking need a free account.
SQL Fundamentals
Selecting, filtering, joining and grouping rows - and the NULL, duplicate and fan-out rules that decide whether a query that runs is a query that's right.
Aggregation and Grouping
Analytical SQL
Window functions, CTEs and recursive queries, and time series - top-N per group, running totals, period-over-period change, retention and streaks, the questions data-heavy interviews and dashboards ask.
Window Functions: Ranking and Top-N
Window Functions: Running Totals and Comparisons
CTEs and Recursive Queries
SQL for Backend Engineers
Designing tables the database can defend, changing them on live data, writing safely under concurrency with upserts, MERGE and transactions, making queries fast with the right index, and storing JSON without losing SQL.
Schema Design and Constraints
Safe Writes: Upserts and Transactions
Indexes and Query Plans
Start the SQL practice course free
No card needed. Upgrade to Pro when you want the full problem bank.
Free plan, no card · 7-day Pro trial · Cancel anytime