Q&A about the site for engineers, producers, editors, and enthusiasts spanning the fields of video, and media creation
select count(*) from ( select u.id from users u left join posts p on u.id = p.owneruserid group by u.id having count(case when posttypeid = 1 then 1 end) = 0 ) x