SELECT MONTH(CreationDate) AS month, YEAR(CreationDate) A...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Joomla Meta

Q&A about the site for Joomla! administrators, users, developers and designers

SELECT MONTH(CreationDate) AS month,
  YEAR(CreationDate) AS year,
  COUNT(*) AS total
FROM Posts
GROUP BY MONTH(CreationDate), YEAR(CreationDate)
ORDER BY YEAR(CreationDate), MONTH(CreationDate);

Enter Parameters

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