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

0

Please login or register to vote for this query.

(click on this box to dismiss)

Ask Different

Q&A for power users of Apple hardware and software

SELECT year(CreationDate) as 'Year', month(CreationDate) as 'Month', count(*) as 'Total Posts'
  FROM Posts
  GROUP BY month(CreationDate), year(CreationDate)
  ORDER BY year(CreationDate) DESC, month(CreationDate) DESC;

Enter Parameters

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