SELECT COUNT(distinct Id) as NumberofPosts, YEAR(Creation...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Ask Ubuntu

Q&A for Ubuntu users and developers

SELECT COUNT(distinct Id) as NumberofPosts,
YEAR(CreationDate) as YEAR,
MONTH(CreationDate) as MONTH FROM Posts
GROUP BY YEAR(CreationDate), MONTH(CreationDate)
ORDER BY YEAR(CreationDate), MONTH(CreationDate);

Enter Parameters

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