Questions per week in a tag
Q&A for pro webmasters
-- Monthly tag popularity -- Questions per month in a tag select datepart(year, p.CreationDate) as Year, datepart(week, p.CreationDate) as Week, count(*) as ##Tag:string## from Posts p join PostTags pt on pt.PostId = p.Id join Tags t on t.Id = pt.TagId where t.TagName = ##Tag:string## group by datepart(week, p.CreationDate), datepart(year, p.CreationDate) order by year desc, week desc