SELECT COUNT(DISTINCT p.Id) AS TotalBountiedQuestions FRO...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Gardening and Landscaping

Q&A for gardeners and landscapers

SELECT COUNT(DISTINCT p.Id) AS TotalBountiedQuestions
FROM Posts p
INNER JOIN Votes v ON p.Id = v.PostId
WHERE p.PostTypeId = 1 -- 1 represents questions
AND v.VoteTypeId = 8; -- 8 represents a bounty start

Enter Parameters

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