Level
Press Control or Command plus Enter to run the query.
The result will appear here.
Need help?
You can look at it and try again. You won't lose any progress.
Write real queries, get instant feedback and go at your own pace. No lives, no timers and no clutter.
We may earn a commission if you purchase through these links. Details
The difficulty and progress are the same. Only the story and the data change.
Complete a mission to unlock the next one.
Press Control or Command plus Enter to run the query.
The result will appear here.
You can look at it and try again. You won't lose any progress.
Each level gives you a question and the tables you need to answer it. Write a query, press Run query and compare the result with the target. You can try as many times as you like, check a hint or open the explained solution if you get stuck.
You start with SELECT and FROM. Then you practise filters with WHERE, summaries with COUNT and GROUP BY, relationships with JOIN and more advanced queries with CTEs and window functions. There are 30 missions spread across six stages.
Your progress is saved in this browser: you don't need to sign up and you can carry on another day. The three worlds have the same difficulty; only the story and the data change. If you need to go over a concept again, each mission links to the matching lesson in the free SQL course.