Count posts with a tag

0

Please login or register to vote for this query.

(click on this box to dismiss)

Stack Overflow

Q&A for professional and enthusiast programmers

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 sites:
loading Hold tight while we fetch your results