Questions with the highest number of bounties

1

Please login or register to vote for this query.

(click on this box to dismiss)

Linguistics Meta

Q&A about the site for professional linguists and others with an interest in linguistic research and theory

SELECT TOP(##num?100##)
RANK() OVER(ORDER BY Count(bs.Id) DESC) AS Rank,
COUNT(bs.Id) AS [Number of bounties],
SUM(bs.BountyAmount) AS [Total amount],
p.Id AS [Post Link],
p.Score, p.AnswerCount, 
p.OwnerUserId AS [User Link],
p.Tags
FROM Posts p INNER JOIN Votes bs ON p.Id = bs.PostId
WHERE bs.VoteTypeId = 8  -- BountyStart
GROUP BY p.Id, p.Score, p.AnswerCount, p.OwnerUserId, p.Tags 
ORDER BY COUNT(bs.Id) DESC

Enter Parameters

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