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) ORDER BY Year, Month