Free · No sign-up · Runs in your browser
Learn SQL one rep at a time.
Write real queries against real business data and get instant feedback. 30 bite-sized questions, from your first SELECT to window functions.
SELECT c.name, COUNT(o.id) AS orders
FROM customers c
LEFT JOIN orders o ON o.customer_id = c.id
GROUP BY c.name; Correct! Next question unlocked.
What you will practice
Each topic has a short plain English guide, then hands-on questions that build on each other.
- 1SELECTRead columns from a table · 4 questions
- 2WHEREFilter rows with conditions · 5 questions
- 3ORDER BYSort and limit results · 4 questions
- 4GROUP BYCount, sum and average by group · 5 questions
- 5JOINsCombine rows from several tables · 5 questions
- 6SubqueriesQueries inside queries, and CTEs · 4 questions
- 7Window functionsRankings and running totals · 3 questions
Real queries
A real SQLite database runs in your browser. You write the SQL, it runs, you see the rows.
Instant feedback
Your result is checked against the correct answer straight away, with a hint if you get stuck.
Builds a habit
Short questions, a daily streak, and progress saved on your device.