Please login or register to vote for this query.

(click on this box to dismiss)

Craft CMS Meta

Q&A about the site for administrators, end users, developers and designers for Craft CMS

SELECT FORMAT(CreationDate,'yyyy.MM') AS year_month,
COUNT(Id) AS post_year_month
FROM Posts
GROUP BY FORMAT(CreationDate,'yyyy.MM')

Enter Parameters

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