Q&A for gamemasters and players of tabletop, paper-and-pencil role-playing games
-- Users ordered by the most gold hammers -- https://i.stack.imgur.com/rEr6F.png SELECT TOP 200 UserId AS [User Link], COUNT(*) as Hammers FROM Badges b WHERE b.TagBased=1 and b.class=1 GROUP BY UserId ORDER BY COUNT(*) DESC