Help Vampires

0

Please login or register to vote for this query.

(click on this box to dismiss)

Japanese Language Meta

Q&A about the site for students, teachers, and linguists wanting to discuss the finer points of the Japanese language

select top 10 U.Id as UserId, U.DisplayName as DisplayName, U.Reputation as Reputation,
  Sum( case when P.PostTypeId = 1 then 1 else 0 end ) as Questions,
  Sum( case when P.PostTypeId = 2 then 1 else 0 end ) as Answers
  from Users as U inner join
    Posts as P on P.OwnerUserId = U.Id and P.PostTypeId in ( 1, 2 )
  where U.Reputation >= 100000
  group by U.Id, U.DisplayName, U.Reputation
  having
    Sum( case when P.PostTypeId = 1 then 1 else 0 end ) >= 200 and
    Sum( case when P.PostTypeId = 2 then 1 else 0 end ) <= 5
  order by U.Reputation desc

Enter Parameters

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