SELECT COUNT(distinct PostTypeId) as NumberofPosts, YEAR(...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Science Fiction and Fantasy Meta

Q&A about the site for science fiction and fantasy enthusiasts

SELECT COUNT(distinct PostTypeId) as NumberofPosts,
YEAR(CreationDate) as YEAR,
MONTH(CreationDate) as MONTH FROM Posts
WHERE PostTypeId = 1
GROUP BY YEAR(CreationDate), MONTH(CreationDate)
ORDER BY YEAR(CreationDate), MONTH(CreationDate);

Enter Parameters

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