Top Questioners

0

Please login or register to vote for this query.

(click on this box to dismiss)

Gardening and Landscaping Meta

Q&A about the site for gardeners and landscapers

-- Top Questioners

select top 100 
  sum(case when p.PostTypeId = 2 then 1 else 0 end) as Answers,
  sum(case when p.PostTypeId = 1 then 1 else 0 end) as Questions,
  u.id as [User Link],
  u.Reputation
from posts p
  join users u 
    on p.owneruserid = u.id
where u.id is not null and 
  p.CommunityOwnedDate is null and
  p.PostTypeId in (1,2)
group by u.id,u.Reputation
order by Questions desc

Enter Parameters

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