SQL exercises
Practice SQL right in your browser — every query runs locally, nothing leaves the page.
New here? Three things worth knowing
- Run executes your SQL and shows the rows. It never counts against you — experiment freely. Submit is what grades it.
- A wrong Submit is not wasted: it builds your review queue and your weak-spot stats, and it unlocks the hint and the reference solution after three tries.
- Exercises come in two tracks — query practice, where you write SQL, and theory questions, which are multiple choice. Switch between them just below.
Press ? at any time for the keyboard shortcuts.
Progress
0 / 0 solved
↻ Review what you got wrong
Difficulty
Categories