Associated tags

0

Please login or register to vote for this query.

(click on this box to dismiss)

Craft CMS Meta

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

select Tags.TagName, Count(Tags.TagName) as TagCount from Posts  
  join PostTags on Posts.Id = PostTags.PostID
  join Tags on PostTags.TagID = Tags.ID
  where Posts.Tags like '%<lasersaur>%'
  group by Tags.TagName
  order by TagCount desc

Enter Parameters

Options:
Switch sites:
loading Hold tight while we fetch your results