Home Cases Blog About

Teach SQL with a murder to solve

18 free cases based on Agatha Christie novels. Students write real SQL queries to find the killer.

Why it works in a classroom

What students practise

Each case has five questions that build towards naming the killer. Based on the official solutions:

A suggested 60 to 90 minute session

  1. Intro (10 minutes). Put Case 1 on the projector. Read the story, point out the schema and run the first query together.
  2. Cases 1 and 2 in pairs (40 to 60 minutes). One student types while the other reads the schema and checks the logic. Swap at every question.
  3. Discussion (15 minutes). Compare queries that reached the same answer in different ways. Ask which clue gave the killer away.

Good to know before class

Start with Case 1

Using this in a class? Tell us how it went: querythemurder@gmail.com