months

0

Please login or register to vote for this query.

(click on this box to dismiss)

Lifehacks

Q&A for people looking to bypass life's everyday problems with simple tricks

SELECT count(Id) as cnt, format(CreationDate, 'yyyy-MM') as yearmonth, PostTypeId as posttypeid
FROM Posts
GROUP BY format(CreationDate, 'yyyy-MM'), PostTypeId
ORDER BY 3;

Enter Parameters

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