Please login or register to vote for this query.

(click on this box to dismiss)

List the top 100 bounty earners

Open Data

Q&A for developers and researchers interested in open data

-- Just a testing query

SELECT TOP 100 RANK() OVER (ORDER BY SUM(v.BountyAmount) DESC) AS [Rank], SUM(v.BountyAmount) as Bounties FROM 
Users u INNER JOIN Posts p ON u.Id = p.OwnerUserId
INNER JOIN Votes v ON p.Id = v.PostId
WHERE v.VoteTypeId = 9
AND p.OwnerUserId = 517815

Enter Parameters

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