Weekly tag popularity

0

Please login or register to vote for this query.

(click on this box to dismiss)

Questions per week in a tag

Interpersonal Skills Meta

Q&A about the site for people looking to improve their interpersonal communication skills

-- 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
         

Enter Parameters

Options:
Switch to main site
loading Hold tight while we fetch your results