SELECT TOP 300 Badges.UserId AS [User Link], Users.Reputa...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Stack Overflow

Q&A for professional and enthusiast programmers

SELECT TOP 300
  Badges.UserId AS [User Link],
  Users.Reputation AS 'Total user reputation'
FROM
  Badges
INNER JOIN
  Users
ON
  Users.id = Badges.UserId AND
  Badges.Name = 'Legendary' AND
  Badges.Date < '##Date?9999-01-01##'
GROUP BY
  Badges.UserId, Users.Reputation
ORDER BY
  Users.Reputation DESC

Enter Parameters

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