Lowest reputation users with a specific badge

1

Please login or register to vote for this query.

(click on this box to dismiss)

Role-playing Games

Q&A for gamemasters and players of tabletop, paper-and-pencil role-playing games

SELECT TOP(##num?500##)
  RANK() OVER(ORDER BY u.Reputation ASC) AS Rank,
  u.Id AS [User Link],
  u.Reputation,
  COUNT (b.Id) AS [Count]
FROM Badges b INNER JOIN Users u ON b.UserId=u.Id
  WHERE (b.Name = '##name?Famous Question##')
GROUP BY u.Id, u.Reputation
ORDER BY u.Reputation ASC

Enter Parameters

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