select count(id) from users where not exists (select own...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Mythology Meta

Q&A about the site for enthusiasts and scholars of mythology and folklore

--select top 100 * from posttypes
--select count(id) from users
--select sum(posts.posttypeid) as s from users left join posts 
--on users.Id = posts.OwnerUserId group by users.Id having sum(posts.posttypeid)
--select sum(posts.posttypeid) as s from users left join posts 
--on users.Id = posts.OwnerUserId group by users.Id 

--select count(id) from users where id not in (select owneruserid from posts where posttypeid=1)
--select owneruserid from posts where posttypeid=1
select count(id) from users where not exists
(select owneruserid from posts where posts.owneruserid=users.id and posttypeid=1)

Enter Parameters

Options:
Switch sites:
loading Hold tight while we fetch your results