Get all tags with their counts and descriptions


Please login or register to vote for this query.

(click on this box to dismiss)

Craft CMS Meta

Q&A about the site for administrators, end users, developers and designers for Craft CMS

SELECT YEAR(p.CreationDate), t.TagName, COUNT(p.ID)
FROM Posts p
LEFT JOIN Tags t ON p.Id = t.ExcerptPostId
WHERE t.TagName = 'javascript' OR t.TagName = 'typescript'
Group By p.CreationDate, t.TagName

Enter Parameters

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