Q&A about the site for people seeking specific hardware recommendations
SELECT DATEADD(mm, (Year(Posts.CreationDate) - 1900) * 12 + Month(Posts.CreationDate) - 1, 0) AS Month, Tags.TagName, COUNT(*) AS Questions 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 Tags.TagName = 'unity-game-engine' AND -- Replace 'your_tag_here' with the tag you're interested in PostTypes.Name = 'Question' AND Posts.CreationDate >= DATEADD(month, -42, GETDATE()) AND -- Last 5 months Posts.CreationDate < DATEADD(month, 0, GETDATE()) -- Exclude the current month GROUP BY Year(Posts.CreationDate), Month(Posts.CreationDate), Tags.TagName ORDER BY Year(Posts.CreationDate), Month(Posts.CreationDate), Tags.TagName;