Show HN: SQL Noir – Learn SQL by solving crimes (opens in a new tab)sqlnoir.com
463 pointsI built SQL Noir, an interactive detective game that challenges you to solve mysteries using real SQL queries. It’s fully open source, designed to give you a practical and immersive way to learn SQL while engaging with a narrative-driven mystery.
Comments (85) 41 threads
Earlier commentsI see the beginnings of a really fun way to learn / practice / remember SQL.
A few notes:
- Would be cool if it was a single workspace (no tabs). Was constantly switching tabs back and forth.
- Saving previous SQL queries and results would be cool. I was copying results into the notes. Feel like this is important as things get more complex.
Excited to see where you take this!
I imagined myself with my flip notepad at the crime scene taking notes every time I'd copy queries/results to the notepad section. All I needed was a hat, and then say "just the facts, ma'am" a couple of times.
Things that would it make more immersive:
- autocomplete
- and/or the ability to view the schema alongside the query (on a wide enough screen)
- a way to copy table and column names easily with a click (table names cannot be selected at all!)
- ability to just add more queryies under/over the already executed ones, instead of only being able to replace them.
Maybe enabled on a NG+?
It's hard to explain, but you can reproduce like this:
2. Try to comment each line on its own by typing -- in front of each line. 3. As soon as you do it for "from interviews i", that line will move itself to the previous line, and the syntax highlighting will be broken1. Write several lines, for example:
All comments shown.
Couldn't load more comments. Check your connection and try again.