Lurker News
I 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

Show all comments

Showing thread 12 of 41

ryanianian4 replies#
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.
SlackingOff1231 reply#
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;
sgarland#

    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.
chrisBHappy1 reply#
That's a good suggestion. I'm not sure if screen real estate won't be a problem though.
hinkley1 reply#
Maybe modeled after browser dev tools. Big display at the top, small repl at the bottom with a dragged to resize. Also tab structure and the “menu” are chewing up a lot of vertical real estate for two classes of data most users won’t see as separate.

The schema ui seems to be big because of the graph display… which is not at all done baking yet. The hard part of displaying graphs is the pathing, and the very first one I opened has an arrow coming from the left, going across the mode, and attaching to the right side. In a perfectly horizontal line. That’s gonna need to cook a lot longer. It it worth having a bad vis over having no vis?

chrisBHappy#
Just implemented it. Looks really nice on Desktop. Nice and compact.
__float#
+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!)

chrisBHappy#
Yes! I just implemented a "Side By Side" view that will enable you to view 2 separate tabs side by side. Only on Desktop.