select count(*) from ( select u.id from posts p join user...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Monero Meta

Q&A about the site for developers and users of the secure, private and untraceable cryptocurrency Monero

select count(*)
from 
(
select u.id
from posts p join users u on p.OwnerUserId = u.Id
group by u.id
having count(case when PostTypeId=1 then 1 end)>0 and 
count(case when PostTypeId=2 then 1 end)=0
)x

Enter Parameters

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