SELECT year(CreationDate) as year, month(CreationDate) as...

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 year(CreationDate) as year, month(CreationDate) as month, COUNT(*) as posts
FROM posts
GROUP BY year(CreationDate), month(CreationDate)
ORDER BY year(CreationDate), month(CreationDate);

Enter Parameters

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