Users with highest reputation earned from bounties

1

Please login or register to vote for this query.

(click on this box to dismiss)

Stack Apps

Q&A for apps, scripts, and development with the Stack Exchange API

SELECT TOP(##num?500##)
p.OwnerUserId AS [User Link],
p.OwnerDisplayName,
SUM(bs.BountyAmount) AS [Rep from bounties]
  FROM Posts p INNER JOIN Votes bs
    ON p.Id = bs.PostId
      AND bs.VoteTypeId = 9  -- BountyClose
GROUP BY p.OwnerUserId, p.OwnerDisplayName      
ORDER BY SUM(bs.BountyAmount) DESC

Enter Parameters

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