select * from (select count(distinct u.Id) as "with_post...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Motor Vehicle Maintenance and Repair Meta

Q&A about the site for mechanics and DIY enthusiast owners of cars, trucks, and motorcycles

select *
from

(select count(distinct u.Id) as "with_post" from Users u
full outer join Posts p on (p.OwnerUserID = u.Id)
where p.Id is null

union

select count(u.Id) as 'all' from Users u)t
;

Enter Parameters

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