Q&A for Salesforce administrators, implementation experts, developers and anybody in-between
-- Top Users by Number of Bounties Won SELECT Top 100 Posts.OwnerUserId As [User Link], COUNT(*) As BountiesWon FROM Votes INNER JOIN Posts ON Votes.PostId = Posts.Id WHERE VoteTypeId=9 GROUP BY Posts.OwnerUserId ORDER BY BountiesWon DESC