ыф

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 count(case when res > 0 then 1 end)
from (
  select Users.id, count(Posts.id) as res
  from Users
  right join Posts
  on Posts.OwnerUserId = Users.id
  group by Users.id
) q

Enter Parameters

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