Q&A for experienced flyers, pilots, and builders of drones and model aircraft
SELECT FORMAT(p.CreationDate, 'yy-MM') as [Month], SUM(CASE WHEN t.TagName = 'c++' THEN 1 ELSE 0 END) as CPlusPlusQuestions, SUM(CASE WHEN t.TagName = 'c#' THEN 1 ELSE 0 END) as CSharpQuestions, SUM(CASE WHEN t.TagName = 'typescript' THEN 1 ELSE 0 END) as TypeScriptQuestions FROM Posts p INNER JOIN PostTags pt ON pt.PostId = p.Id INNER JOIN Tags t ON t.Id = pt.TagId WHERE p.PostTypeId = 1 -- 1=Question AND t.TagName IN ('c++', 'c#', 'typescript') GROUP BY FORMAT(p.CreationDate, 'yy-MM') ORDER BY [Month];