Help Vampires - Users who amass reputation by asking questions, not posting answers.

0

Please login or register to vote for this query.

(click on this box to dismiss)

Mythology

Q&A for enthusiasts and scholars of mythology and folklore

-- NB: Some users post useful questions.
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 )
  -- A reputation of at least 25000.
  where U.Reputation >= 25000
  group by U.Id, U.DisplayName, U.Reputation
  having
    -- Asked at least 200 questions and ...
    Sum( case when P.PostTypeId = 1 then 1 else 0 end ) >= 200 and
    -- ... contributed no more than 5 answers.
    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