SELECT TOP 10 Users.Id as [User Link], COUNT(*) as [NumBa...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Webmasters

Q&A for pro webmasters

SELECT TOP 10
    Users.Id as [User Link], COUNT(*) as [NumBadges]
  FROM
    Users INNER JOIN Badges
    ON Users.Id = Badges.UserId
  GROUP BY
    Users.Id
    ORDER BY
  NumBadges DESC

Enter Parameters

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