Top 200 Bounty Earners

0

Please login or register to vote for this query.

(click on this box to dismiss)

List the top 200 bounty earners

Android Enthusiasts

Q&A for enthusiasts and power users of the Android operating system

-- Top 200 Bounty Earners
-- List the top 200 bounty earners

SELECT TOP 200 RANK() OVER (ORDER BY count(v.BountyAmount) DESC) AS [Rank],  u.Id As [User Link], count(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
GROUP BY u.Id
ORDER BY count(v.BountyAmount) DESC

Enter Parameters

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