Bounties per month since 2013

0

Please login or register to vote for this query.

(click on this box to dismiss)

Stack Overflow

Q&A for professional and enthusiast programmers

SELECT DATEADD(MONTH, DATEDIFF(MONTH, 0, CreationDate), 0) AS Month,
       COUNT(*) as Bounties
FROM   Votes
WHERE  VoteTypeId = 8
  AND  CreationDate >= '2013-01-01'
GROUP BY DATEADD(MONTH, DATEDIFF(MONTH, 0, CreationDate), 0)
ORDER BY DATEADD(MONTH, DATEDIFF(MONTH, 0, CreationDate), 0)

Enter Parameters

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