Answers that earned the most reputation through bounties

1

Please login or register to vote for this query.

(click on this box to dismiss)

Drupal Answers

Q&A for Drupal developers and administrators

SELECT TOP 100
   SUM(V.BountyAmount) as 'Bounty Amount',
   COUNT(*) as 'Amount of Bounties',
   V.PostId AS [Post Link]
FROM
   Votes V 
INNER JOIN Posts P ON P.id = V.PostId
WHERE
   P.PostTypeId = 2 AND V.VoteTypeId=9 
GROUP BY V.PostId
ORDER BY 'Bounty Amount' DESC

Enter Parameters

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