Number of questions monthly

0

Please login or register to vote for this query.

(click on this box to dismiss)

Earth Science

Q&A for those interested in the geology, meteorology, oceanography, and environmental sciences

SELECT
DATEPART(YEAR, Posts.CreationDate) Year,
DATEPART(MONTH, Posts.CreationDate) Month,
COUNT(Posts.Id) Questions
FROM Posts
WHERE PostTypeid = 1 -- 1 = Question
GROUP BY DATEPART(YEAR, Posts.CreationDate), DATEPART(MONTH, Posts.CreationDate)

Enter Parameters

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