Live data from Hacker News

Show HN: SQL Noir – Learn SQL by solving crimes

sqlnoir.com

21–30 of 90 posts

Re: Show HN: SQL Noir – Learn SQL by solving crimes

#21
When I was in university, my instructor linked something like this for SQL practice (a crime solving minigame, just like this one).

I remember getting really into it, even going to the extreme of trying to find the most efficient one-liner solution.

Thanks for making this. I’ll be passing the torch by linking it to anyone interested in learning SQL.

Re: Show HN: SQL Noir – Learn SQL by solving crimes

#22
This is super fun!

One small thing which would be nice is the ability to just download the sqlite database myself so I could use my preferred application to query it, and just use the site for the brief, notes and submission.

Also a nitpick, while you say it's for "learning" SQL, I would probably expect something a little more guided, or at least some example queries, if the intention was to teach SQL. As it stands, if you don't know SQL you're probably going be completely lost as to what you should be doing. It's really cool, just not specifically as a learning tool.

Re: Show HN: SQL Noir – Learn SQL by solving crimes

#23
I just shared this with folks, it looks incredible! I’m giving it a try myself too.

By the way, I was trying to use a bunch of one-liner SQL statements to explore the data, and it seems like the editor doesn’t handle comments very well. Is there a way to make it work better?

Re: Show HN: SQL Noir – Learn SQL by solving crimes

#25

Really cute. But I really want the ability to put the different tabs -- Brief, Workspace, Schema -- side-by-side. I know SQL and wanted to play with this, but the UX was frustrating enough to drive me away, even though it is really pretty.

+1 to this. Remembering the schema is kind of a big barrier when you're just jumping in, and that's when you want to be able to explore at random the most.

(I also struggled with the schema because crime_scene was singular and suspects was plural!)

Re: Show HN: SQL Noir – Learn SQL by solving crimes

#26
This is cool! Great job! I completed the first challenge.

I guess I’m used to sql server management studio I tried running multiple queries at once and wasn’t able to. I also tried writing a comment with two dashes to keep track of the id’s and it replaced most of my query with dashes. It might have something to do with being on mobile on iOS.

Re: Show HN: SQL Noir – Learn SQL by solving crimes

#27
Love this! The style is unique and awesome.

I 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!

Re: Show HN: SQL Noir – Learn SQL by solving crimes

#28

Really cute. But I really want the ability to put the different tabs -- Brief, Workspace, Schema -- side-by-side. I know SQL and wanted to play with this, but the UX was frustrating enough to drive me away, even though it is really pretty.

I agree. I also wish it was possible to run multiple queries in the same window e.g.: select * from crime_scene; select * from suspects;

    SELECT
      cs.*,
      s.*
    FROM crime_scene cs
    FULL JOIN
      suspects s ON cs.id = s.id;
This maintains zero relationship between the tables, of course, but it shows you both. You could also specify individual columns.
Post reply on HN