Most Necrotic (necro badges over 10, rep > 10000)

1

Please login or register to vote for this query.

(click on this box to dismiss)

Who is grabbing the most rep that has a nontrivial amount of necro badges?

Physical Fitness Meta

Q&A about the site for physical fitness professionals, athletes, trainers, and those providing health-related needs

SELECT TOP 500
  row_number() over(order by count(*) desc) as rank, 
  Badges.UserId AS [User Link],
  count(*) AS 'Necros',
  Users.Reputation 'Reputation',
  Users.Reputation / count(*) AS 'RepPerNecro'
FROM
  Badges
INNER JOIN
  Users
ON
  Users.id = Badges.UserId AND
  Badges.Name = 'Necromancer' AND
  Badges.Date < '##Date?9999-01-01##'
GROUP BY
  Badges.UserId, Users.Reputation
HAVING 
  count(*) > 10
  AND Users.Reputation > 10000
ORDER BY
  'RepPerNecro' ASC

Enter Parameters

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