SQLBrief SQL Basics
Learn SQL by writing and running queries on a shop database, with hints for each task
SQL Basics is a free browser course from SQLBrief that teaches SQL by doing. It has 8 modules and 26 lessons with 125 tasks, 92 required and 33 optional. You edit and run real queries against a fictional online shop database with six tables, starting from your very first query.
Free · No login · Browser · Beginner

About SQLBrief SQL Basics
Hints unlock one at a time, with the full query and an explanation last, and you can compare your result with a prepared solution. Queries only read data, so nothing can break. It suits complete beginners: no SQL experience or installation is needed.
It is free, needs no account and saves your progress in the browser. SQLBrief also makes City at Low Tide, an SQL story game.
On Breakpoint since 13 Nov 2026.
Questions about SQLBrief SQL Basics
What do the eight modules of SQL Basics cover?
- They run from first queries to choosing columns, filtering rows, sorting, calculations, unique values and grouped summaries, joining related tables, and finally building complete reports.
Made this game? Claim it →

Tips and discussion
No tips yet.
Sign in to share a tip.