Comment

Comment by gleb

The example doesn't quite make sense:

  SELECT user_id IN (SELECT DISTINCT user_id FROM user_actions);
is not valid SQL. You may mean something like:

  SELECT 123 IN (SELECT DISTINCT user_id FROM user_actions);
which is a strange query, as it's equivalent to:

  SELECT 123 IN (SELECT user_id FROM user_actions);
parent gleb 11 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton