Get Started Free

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

  1. 7The night shiftMedium Dec 7
  2. 15Cookie fuelMedium Dec 15
  3. 2Letters from everywhereEasy Dec 2
  4. 21Racing the sunMedium Dec 21
  5. 11GroundedEasy Dec 11
  6. 18Caught in the actHard Dec 18
  7. 4Workshop hoursEasy Dec 4
  8. 24Santa's messageHard Dec 24
  9. 13Chain of commandMedium Dec 13
  10. 1Report for dutyEasy Dec 1
  11. 9Wish you were hereMedium Dec 9
  12. 20Seven reindeerMedium Dec 20
  13. 16Who was there?Medium Dec 16
  14. 6Changed overnightMedium Dec 6
  15. 23Setting it rightMedium Dec 23
  16. 3Most wantedEasy Dec 3
  17. 12Quality controlMedium Dec 12
  18. 19A heavy sleighHard Dec 19
  19. 8Whose badge?Medium Dec 8
  20. 14Which terminal?Medium Dec 14
  21. 22Two tripsHard Dec 22
  22. 5Checking it twiceEasy Dec 5
  23. 17Every single timeHard Dec 17
  24. 10Reindeer gamesEasy Dec 10
  25. 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.