Answers by month


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 TotalAnswers from PostsWithDeleted
  where PostTypeId = 2
  and CreationDate >= '2014-01-01'
group by datediff(month, 0, CreationDate)
order by [month] asc

Enter Parameters

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