Course 03 — SQL, by doing

Ask your dataand watch it answer.

A real SQLite database runs in this page. Every query you write is executed for real, and the rows that answer it visibly travel from the tables into your result — so joins, grouping and indexes stop being abstract.

Start lesson one Open the sandbox

15 lessons · 5 chapters · free

SQL — a join, then a GROUP BY
  1. 01 · Read

    Each lesson is one idea, explained in a few short paragraphs — no walls of theory.

  2. 02 · Do

    Type into a live environment and watch it react. Tab completes, ↑ recalls, undo takes back any step.

  3. 03 · Match

    Reach the goal any way you like — you're judged on the result, not the keystrokes. Par is the shortest route.

05

Speed

Indexes, and reading the query plan to prove they're used.

  1. 15 Make a lookup fast EXPLAIN QUERY PLAN, and the index that skips the scan.

This is the genuine SQLite engine compiled to WebAssembly, so every query behaves exactly as it would in a SQLite file. Other databases (PostgreSQL, MySQL) differ in small details, which the lessons point out.