Users with most reputation per badge


Please login or register to vote for this query.

(click on this box to dismiss)


Q&A for the craft of professional writing, including fiction, non-fiction, technical, scholarly, and commercial writing

SELECT TOP 100 Users.Id AS [User Link], Users.Reputation, COUNT(Badges.UserId) AS [Badge Count], CAST(Users.Reputation AS DECIMAL) / COUNT(Badges.UserId) AS [Rep per Badge]
FROM Users
INNER JOIN Badges ON Users.Id = Badges.UserId
GROUP BY Users.Id, Users.Reputation
ORDER BY [Rep per Badge] DESC

Enter Parameters

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