1.

0

Please login or register to vote for this query.

(click on this box to dismiss)

Craft CMS

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

SELECT count(*), FORMAT(CreationDate, '%m-%Y') as year_month
FROM Posts
GROUP BY FORMAT(CreationDate, '%m-%Y')
ORDER BY FORMAT(CreationDate, '%m-%Y');

Enter Parameters

Options:
Switch sites:
loading Hold tight while we fetch your results