Q&A for Drupal developers and administrators
select DatePart(MM, CreationDate) as month, count(*) as count from posts group by DatePart(mm, creationdate) order by count desc