Get all tags with their counts and descriptions


Please login or register to vote for this query.

(click on this box to dismiss)


Q&A for people looking to bypass life's everyday problems with simple tricks

SELECT t.TagName, COUNT(pt.PostId), YEAR(p.CreationDate) FROM Posts as p
LEFT JOIN PostTags as pt ON p.Id = pt.PostId
LEFT JOIN Tags AS t ON pt.TagId = t.Id
WHERE t.TagName = 'javascript' OR t.TagName = 'typescript'
GROUP BY YEAR(p.CreationDate), t.TagName

Enter Parameters

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