select count(*) from (select a.id from (select users.id...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Android Enthusiasts Meta

Q&A about the site for enthusiasts and power users of the Android operating system

--select * from posttypes;


select count(*) from 
  (select a.id from
    (select users.id from users 
    join posts p on users.id = p.OwnerUserId and PostTypeId = 1
    group by users.id) a
    left outer join posts on a.id = posts.OwnerUserId and PostTypeId = 2
    where posts.id is not NULL
  ) b

Enter Parameters

Options:
Switch to main site
loading Hold tight while we fetch your results