Q&A about the site for researchers and developers who explore the principles of a system through analysis of its structure, function, and operation
select (select count(u.Id) as NoPosts from Users u left join Posts p on u.Id = p.OwnerUserID where p.Id is Null), count(u.Id) as AllPosts from Users u left join Posts p on u.ID = p.OwnerUserID