I have a bunch of Users, each of whom has many Posts. Schema:
Users: id Posts: user_id, rating
How do I find all Users who have at least one po
select distinct id from users, posts where id = user_id and rating > 10