Number of comments by month of CreationDate

1

Please login or register to vote for this query.

(click on this box to dismiss)

Reverse Engineering Meta

Q&A about the site for researchers and developers who explore the principles of a system through analysis of its structure, function, and operation

SELECT eomonth(c.CreationDate) [month],
  COUNT(c.Id) AS [Total Comments]
FROM Comments c
WHERE c.CreationDate >= '##Date1?2015-01-01##' AND c.CreationDate <= '##Date2?2021-01-01##'
GROUP BY eomonth(c.CreationDate)
ORDER BY eomonth(c.CreationDate)

Enter Parameters

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