User with most famous/notable/popular badges

1

Please login or register to vote for this query.

(click on this box to dismiss)

Anime and Manga Meta

Q&A about the site for anime and manga fans

SELECT TOP(##num?200##)
  UserId AS [User Link],
  sum(case when class = 1 then 1 else 0 end) AS gold,
  sum(case when class = 2 then 1 else 0 end) AS silver,
  sum(case when class = 3 then 1 else 0 end) AS bronze,
  count(Id) AS total
FROM Badges
WHERE (Name = '##name1?Famous Question##') OR (Name = '##name2?Notable Question##') OR  (Name = '##name3?Popular Question##')
GROUP BY UserId
ORDER BY gold DESC, silver DESC, bronze DESC, total DESC

Enter Parameters

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