Learningrelated: r/learnSQL

Solve the SQL Murder Mystery

Learn SQL by querying a police database to find a killer.

time
one to two hours
cost
free
effort
some effort
where
at your desk

what it is

  • The SQL Murder Mystery from Northwestern's Knight Lab is a free browser game.
  • You get a crime scene report and a database of witnesses, gym logs and interviews.
  • Only queries can crack it.

how it goes

  1. Open mystery.knightlab.com.
  2. Do the short walkthrough if you have never written SELECT, WHERE and JOIN.
  3. Read the crime scene report and follow the clues with queries.
  4. Try the bonus challenge to find the real mastermind.

where to go

why try it

People say it is the most fun way they have seen to learn joins.

More in Learning, or pick a niche.