Q&A about the site for those interested in the study of the fundamental nature of knowledge, reality, and existence
select count(case when res > 0 then 1 end) from ( select Users.id, count(Posts.id) as res from Users right join Posts on Posts.OwnerUserId = Users.id group by Users.id ) q