Count posts with a tag

0

Please login or register to vote for this query.

(click on this box to dismiss)

Super User

Q&A for computer enthusiasts and power users

SELECT COUNT(Title)
FROM Posts
WHERE Id IN (
  SELECT PostId
  FROM PostTags
  WHERE TagId IN
    (SELECT Id FROM Tags WHERE TagName='##tagName##')
  )
AND CreationDate <= ##createDateBefore##

Enter Parameters

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