SQL4All teaches SQL by doing. It is a free, open-source course of 50 exercises, from a first SELECT to joins and table changes, with feedback the moment you run a query. Start at sql4all.org.
Postgres in your browser#
Every query runs against a real PostgreSQL database inside the page, powered by PGlite. There is nothing to install and no server to set up. When a query has a syntax error, the editor says where it broke and shows a correct example.
50 exercises in three levels#
Exercises go from beginner to intermediate to advanced. Each one states the goal, explains the clause it teaches, and offers a hint if you get stuck.

Try it#
Open sql4all.org and press Comenzar ahora. To run it locally, clone the repository and add DATABASE_URL to .env.local:
bun install
bun run db:push
bun devThe code is MIT licensed.

