Plots total questions over time Reference: http://meta.stackoverflow.com/q/260570/331508
Q&A for scientists using computers to solve scientific problems
WITH QuestStatsByMonth AS ( SELECT DATEADD (month, DATEDIFF (month, 0, q.CreationDate), 0) AS [Month], q.Id AS id FROM Posts q INNER JOIN PostTags pt ON q.Id = pt.PostId INNER JOIN Tags t ON t.Id = pt.TagId WHERE q.PostTypeId = 1 AND t.TagName = 'perl6' ) SELECT q.[Month], COUNT(q.id) AS Qs FROM QuestStatsByMonth q LEFT JOIN QuestStatsByMonth h ON h.[Month] = q.[Month] GROUP BY q.[Month] ORDER BY q.[Month]