Users with most Necromancer badges at a given date

7

Please login or register to vote for this query.

(click on this box to dismiss)

Most decorated users

Genealogy and Family History Meta

Q&A about the site for expert genealogists and people interested in genealogy or family history

SELECT TOP 300
  row_number() over(order by count(*) desc) as rank, 
  Badges.UserId AS [User Link],
  count(*) AS 'Necromancer badges',
  Users.Reputation 'Reputation',
  Users.Reputation / (10 * count(*)) AS 'Reputation / (10 * Badges)'
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
ORDER BY
  'Necromancer badges' DESC

Enter Parameters

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