Select T.TagName, count(Pt.PostID) from Tags T, PostTags ...

0

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 T.TagName, count(Pt.PostID) from Tags T, PostTags Pt, Posts P
where Pt.PostID = P.ID
AND pt.TagID = T.Id 
AND Year(CreationDate) = '2017'
group by T.TagName
order by T.TagName desc

Enter Parameters

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