Q&A for meta-discussion of the Stack Exchange family of Q&A websites
SELECT dateadd(m, -datediff(m, CreationDate, getdate()),getdate()), COUNT(*) AS questions FROM Tags INNER JOIN PostTags ON PostTags.TagId = Tags.id INNER JOIN Posts ON Posts.Id = PostTags.PostId WHERE Tags.tagname = 'sql' GROUP BY dateadd(m, -datediff(m, CreationDate, getdate()),getdate()) ORDER BY dateadd(m, -datediff(m, CreationDate, getdate()),getdate()) ASC