Users with most badges

0

Please login or register to vote for this query.

(click on this box to dismiss)

Most decorated users

Stack Overflow

Q&A for professional and enthusiast programmers

SELECT TOP 20 row_number() over(order by count(*) desc), 
  UserId AS [User Link], count(*) AS badges
FROM Badges
GROUP BY UserId
ORDER BY Badges DESC

Enter Parameters

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