top_ten_most_generous

0

Please login or register to vote for this query.

(click on this box to dismiss)

Ask Ubuntu Meta

Q&A about the site for Ubuntu users and developers

SELECT
  TOP(10)
  Users.Id [User Link],
  Users.DisplayName,
  Users.Reputation,
  (SELECT SUM(BountyAmount) FROM Votes WHERE Votes.UserId = Users.Id) as TotalBountiesAwarded
FROM Users
WHERE
  (SELECT SUM(BountyAmount) FROM Votes WHERE Votes.UserId = Users.Id) > 0
ORDER BY 
  TotalBountiesAwarded DESC

Enter Parameters

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