ViewCount for each tag V 2.0


Please login or register to vote for this query.

(click on this box to dismiss)

Drupal Answers

Q&A for Drupal developers and administrators

SELECT posts.Id, posts.title, posts.AcceptedAnswerId, posts.ViewCount

FROM Posts, PostTags, Tags

WHERE Tags.ID = PostTags.TagId AND Posts.Id = PostTags.PostId
  AND Tags.TagName = ##TagName:string##

order by posts.viewcount DESC

Enter Parameters

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