Q&A about the site for serious players and enthusiasts of poker
SELECT format(Posts.CreationDate, 'yyyy-MM-01') as month, Tags.TagName as tag, COUNT(*) AS count FROM Tags LEFT JOIN PostTags ON PostTags.TagId = Tags.Id LEFT JOIN Posts ON Posts.Id = PostTags.PostId LEFT JOIN PostTypes ON PostTypes.Id = Posts.PostTypeId WHERE PostTypes.Name = 'Question' AND Posts.CreationDate >= '2019-02-01' AND Posts.CreationDate < '2019-03-01' GROUP BY format(Posts.CreationDate, 'yyyy-MM-01'), Tags.TagName ORDER BY format(Posts.CreationDate, 'yyyy-MM-01'), count DESC