I have a table of users
with an id
column and a table of posts
that have a user_id
column.
I'm looking to find all users that have never posted.
Pseudo Code:
SELECT u.* FROM users u
JOIN posts p
WHERE u.id IS NEVER IN p.user_id
I think that I'm missing something simple here and can't find the answer. Thanks for any help you can provide.