December 1 – 24, 2026 · DuckDB in your browser
Advent of SQL
The Nice List Heist
Thirty good children have landed on the naughty list while nobody was looking. You're the North Pole's first data elf. One door a day, one query a day, until you find out who did it and save Christmas.
0 of 24 solved · saved in this browser
- 7The night shiftMedium Dec 7
- 15Cookie fuelMedium Dec 15
- 2Letters from everywhereEasy Dec 2
- 21Racing the sunMedium Dec 21
- 11GroundedEasy Dec 11
- 18Caught in the actHard Dec 18
- 4Workshop hoursEasy Dec 4
- 24Santa's messageHard Dec 24
- 13Chain of commandMedium Dec 13
- 1Report for dutyEasy Dec 1
- 9Wish you were hereMedium Dec 9
- 20Seven reindeerMedium Dec 20
- 16Who was there?Medium Dec 16
- 6Changed overnightMedium Dec 6
- 23Setting it rightMedium Dec 23
- 3Most wantedEasy Dec 3
- 12Quality controlMedium Dec 12
- 19A heavy sleighHard Dec 19
- 8Whose badge?Medium Dec 8
- 14Which terminal?Medium Dec 14
- 22Two tripsHard Dec 22
- 5Checking it twiceEasy Dec 5
- 17Every single timeHard Dec 17
- 10Reindeer gamesEasy Dec 10
- The finaleYour prize
How it works
- One door a day. Door N opens on December N, in your time zone. Each day is a chapter of the story and a SQL puzzle.
- Real SQL, nothing to install. Solve it with SQL: joins, window functions, recursive CTEs and a bit of time-zone maths, running on DuckDB in your browser.
- Instant checking. Your answer runs on the visible data and on two hidden versions of the North Pole, so it has to be right, not lucky.
- A prize at the end. Finish all 24 days and you can download a certificate with your name on it, signed by Head Elf Pepper Mintwhistle. Share it, frame it, or put it on your LinkedIn.
The cast
- You, the North Pole's first data elf.
- Pepper Mintwhistle, Head Elf. Hired you. Runs on cocoa.
- Tansy Candlewick, keeper of the Nice List, and very worried about it.
- Tinsel Tinkertoe, Toy Workshop boss, permanently behind schedule.
- Dusty Hayloft and eight reindeer. Dusty knows something.
- Kip Circuitbell, IT, and Bram Lanternlight, Security. Your best allies.
Days start easy (a filter, a count) and end hard (relational division, running totals, point-in-time joins). Easy, Medium and Hard are marked on every door.