Fenn Bramble

A cozy detective game you solve with SQL

Hollowbrook has a mystery. You have a database.

Join Inspector Fenn Bramble, a fox with a fine moustache and a finer filing system. Query the town’s records right in your browser, follow the clues, dodge the red herrings and name the culprit.

No sign-up for the first case. Nothing to install.

Inspector Fenn: Evening, partner! Inspector Fenn Bramble, Hollowbrook constabulary. Mind the tea, it's fresh.

How a case works

  1. Case No. 1

    The Pie That Walked Away

    Village Hall · twenty minutes before judging

    1. Read the case file

    Fenn briefs you on what happened, when, and who was about. Each case comes with its own little database: residents, keycard swipes, receipts, bus tickets, church clocks.

  2. SELECT rider, boarded_at
    FROM bus_tickets
    WHERE stop = 'Market Cross'
      AND boarded_at > '21:00';

    2. Ask the records

    Write real SQL in your browser. Check alibis, follow hunches, and watch for traps: NULLs, recycled codes, two people with one name, clocks that lie.

  3. 3. Name the culprit

    When the evidence lines up, file your conclusion. Fenn checks it, grumbles kindly if you’re wrong, and stamps the case closed when you’re right.

Every answer is in the data

Fenn never asks you to type the “right” query. Any query that turns up the evidence counts, and he notices when it does: clues land in your case notebook as you find them.

Stuck? Ask Fenn. Hints come in three sizes: a nudge, the tables that matter, then the shape of the query. Never the answer itself, and every hint costs a few points of your case score.

SELECT name, seen_at, spotted_by
FROM sightings
WHERE place = 'Puddle Lane Bakery'
  AND seen_at BETWEEN '21:00' AND '22:00'
ORDER BY seen_at;
nameseen_atspotted_by
Dora Thimble21:04the till
Percival Hobnob21:38the night bus
Percival Hobnob21:52the till

Fenn: “Percival swore he was tucked up in bed by nine. The bakery till remembers him rather differently.”

Six cases, one very busy town

From a missing pie to a vanished lantern, each case teaches a bigger slice of SQL. And each one is fair: an automated check proves the data points to exactly one culprit.

Open the case board
  1. Case No. 1

    The Pie That Walked Away

    Hollowbrook Village Hall · Saturday 13 September

    Difficulty
    • SELECT
    • WHERE
    • ORDER BY
    Free · no sign-up
  2. Case No. 2

    The Overdue Almanack

    Hollowbrook Library · Thursday 9 October

    Difficulty
    • LIKE
    • IN
    • BETWEEN
    Free with an account
  3. Case No. 3

    The Great Marrow Sabotage

    Hollowbrook Community Allotments · Saturday 18 October

    Difficulty
    • JOIN
    • multi-table JOINs
    • join conditions with dates
    Full case files
  4. Case No. 4

    The Raffle That Rigged Itself

    The Halloween Fête on Hollowbrook Green · Friday 31 October

    Difficulty
    • subqueries
    • correlated subqueries
    • WITH (CTEs)
    Full case files
  5. Case No. 5

    The Midnight Bell

    St Wendreda's Church · Sunday 2 November

    Difficulty
    • date/time functions
    • time zones and formats
    • self-joins
    Full case files
  6. Case No. 6

    The Lantern of Hollowbrook

    Hollowbrook Museum, Lantern Night · Saturday 15 November

    Difficulty
    • everything: JOINs, subqueries, CTEs
    • window functions over NULLs
    • audit history
    Full case files

Coming soon · Casebook 2

Pebblecombe-on-Sea

Fenn's first holiday in eleven years. It lasts until breakfast.

Greetings from Pebblecombe-on-Sea

Fenn has sent a postcard from his holiday.Read Fenn’s postcard →

Fair and square

Cases 1 and 2

Free

  • The Pie That Walked Away, with no sign-up at all
  • The Overdue Almanack, with a free account
  • Every hint, the SQL help panel and saved progress
Play case 1

The full case files: cases 3 to 6

One payment

  • Joins, subqueries and CTEs, dates and window functions
  • A finale with a twist Fenn is rather proud of
  • No subscription and no ads; yours on every device
See the full case files

Questions from the front desk

Do I need to know SQL already?

Not at all. Case 1 starts with SELECT and WHERE, every case has a SQL help panel with short examples, and Fenn's hints go from a gentle nudge to the shape of the query. If you already know SQL, the later cases will still make you think.

Which SQL is it, and where does it run?

SQLite, running right in your browser against your own copy of the case database, so results come back instantly. Fenn peeks at each query and what it finds so he can notice when you've turned up a clue.

Can I break anything?

Not a thing. Drop every table if it makes you feel better: the Reset button hands you a fresh copy of the records.

Is my progress saved?

Yes, in your browser straight away. Sign in with email or Google and it follows you to any device.

How long does a case take?

Anything from a pot of tea to a long evening. The early cases are short and friendly; the finale is neither.

The kettle’s on, partner.

A champion pumpkin pie is missing, and the judging starts in twenty minutes.

Take the case