Lowest reputation users with a specific badge


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],
  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

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