Comment

Comment by eric_the_read

I'll have to see if I can adapt this to my somewhat idiosyncratic syntax:

  SELECT field, other_field
    FROM table
   WHERE some_thing IN (
         SELECT id 
           FROM other_table
         )
     AND other_field IS NOT NULL
(mostly it's right-aligning keywords, but there are a few other weird tweaks)

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton