Skip to content
Brainlag

SQL

SELECT, WHERE, JOIN, GROUP BY, then window functions, views and your own tables.

7 free lessons.

40 lessons, 7 free

Practise

Review

Checkpoint problems you miss come back here.

Open review

Daily 5

Five quick questions from what you have learned.

Start Daily 5

The course, unit by unit

Part 1: Foundations

1 unit, 7 lessons

Part 2: Core

1 unit, 11 lessons

Part 3: Deeper

2 units, 22 lessons

  1. Unit 3: Advanced

    7 hr 45 minLocked

  2. Unit 4: Real-world analysis

    2 hr 35 minLocked

Questions

What is the course about?

Ask data questions. SELECT, WHERE, JOIN, GROUP BY, then window functions, views and your own tables. Ask real data questions and see how apps remember things. It is for: beginner.

What is free?

7 of the 40 lessons.

Do I need to install anything?

No. Your code runs in the browser, in the editor beside each lesson.

Do I need an account?

No. Progress saves in this browser; sign in to keep it on every device.

What can I do by the end?
  • Answer real questions from a database on your own
  • Join, group and summarise data across several tables
  • Break hard questions into steps with CTEs and window functions
  • Design tables with keys, constraints, views and indexes
  • Change data safely with transactions
  • Find and fix queries that run and still give the wrong answer
How long does it take?

About 17 hr 50 min of lessons in 4 units. Lessons take 20 to 45 minutes each.