NUKnightLab/sql-mysteries
NUKnightLab/sql-mysteries has 2,253 GitHub stars and 325 forks. GitHot measured -1 stars in 24 hours. Last checked 2026-11-08 21:18 UTC. Last push 2025-04-14.
So werden diese Zahlen gemessen
Inspired by @veltman's command-line mystery, use SQL to research clues and find out whodunit!
Gemessener Sternzuwachs
- in 24h
- -1
- in 7 days
- Aktualisierung verzögert
- in 15 days
- Aktualisierung verzögert
- in 1 month
- Aktualisierung verzögert
Nettoänderungen in überlappenden Zeiträumen, keine Tagessummen. Fehlende Messwerte bleiben leer. Sterne zeigen Interesse, nicht Qualität.
README.md
OriginalSQL Murder Mystery

There's been a Murder in SQL City! The SQL Murder Mystery is designed to be both a self-directed lesson to learn SQL concepts and commands and a fun game for experienced SQL users to solve an intriguing crime.
If you just want to solve the mystery, go to mystery.knightlab.com. If you're new to SQL, you may want to start at our walkthrough. It won't teach you everything about SQL, but it should teach you all that you need to solve the mystery.
What Else is Here?
Before we built the web-based version, we designed this for people to download and solve on their own computer. If you're interested in that, read on.
What you need to solve on your own computer
- sql-murder-mystery.db: This SQLite database file contains all the data that you will be working with.
- prompt: Depending on your experience level with SQL, find the prompt in either the prompt_experienced file or the prompt_beginner file.
- reference: This is a crash course on SQL concepts and commands.
- a SQLite environment of your choice: For beginners, we recommend using SQLiteStudio, which is a good graphical interface to use to inspect your data and write queries.
Getting Started
For SQL beginners: start with the reference, read the prompt_beginner file, then get started by installing SQLiteStudio and loading the db file. If you get stuck at any point, feel free to refer back to the reference, or file a GitHub issue so we can know where our instructions need to be improved.
For experienced SQL users: read the prompt_experienced file, then download the sql-murder-mystery.db file and use a SQL environment of your choice to solve the mystery. You can use the reference to refresh your memory of SQL. Try to complete the activity all within your SQL environment (without writing down notes)!
Checking the Solution
Write the following queries in your SQL environment to check whether you've found the right murderer:
INSERT INTO solution VALUES (1, "Insert the name of the person you found here");
SELECT value FROM solution;
Authors
Inspiration
This murder mystery was inspired by a crime in the neighboring Terminal City.
Copyright and License
Original code for this project is released under the MIT License.
Original text and other content is released under Creative Commons CC BY-SA 4.0.
SQL query custom web components used here were adapted from code created and released to the public domain by Zi Chong Kao, creator of Select Star SQL.
Detective image by rambleron used under Vecteezy's free license.
Ähnliche Projekte entdecken
Asabeneh/30-Days-Of-Python
Die Programmier-Challenge 30 Days of Python ist eine Schritt-für-Schritt-Anleitung, um die Programmiersprache Python in 30 Tagen zu lernen. Diese Challenge kann mehr als 100 Tage dauern. Gehe in deinem eigenen Tempo vor. Diese Videos können ebenfalls helfen: https://www.youtube.com/channel/UC7PNRuno1rzYPb1xLa4yktw
78,423 Sternegrafana/grafana
Offene und kombinierbare Plattform für Observability und Datenvisualisierung. Visualisiert Metriken, Logs und Traces aus mehreren Quellen wie Prometheus, Loki, Elasticsearch, InfluxDB, Postgres und vielen weiteren.
77,763 Sterneredis/redis
Für Entwickler, die echtzeitfähige, datengesteuerte Anwendungen erstellen, ist Redis der bevorzugte, schnellste und funktionsreichste Cache, Datenstrukturserver und die entsprechende Abfrageengine für Dokumente und Vektoren.
77,309 Sterneapache/superset
Apache Superset ist eine Plattform für Datenvisualisierung und Datenexploration.
75,453 Sterne