A bunch of related tags - annual usage over time (union of all these tags)


Please login or register to vote for this query.

(click on this box to dismiss)

Stack Overflow

Q&A for professional and enthusiast programmers

  year(p.creationDate) as 'year', 
  count(distinct p.id) as ##ColName##
from Posts p 
join PostTags pTags on p.id = pTags.postId
join Tags t on t.id = pTags.tagId
where p.postTypeId = 1 -- questions
AND t.tagName in ( ##Tags## )
group by year(p.creationDate) 
order by year(p.creationDate)

Enter Parameters

Switch to meta site
loading Hold tight while we fetch your results