DECLARE @TagName varchar(128) = 'backbone.js' SELECT COU...


Please login or register to vote for this query.

(click on this box to dismiss)

Stack Overflow

Q&A for professional and enthusiast programmers

DECLARE @TagName varchar(128) = 'backbone.js'

    SELECT COUNT(*) from Posts P
    WHERE P.Id IN (
      SELECT DISTINCT(PostId) from PostTags 
      WHERE PostTags.TagId In (
        SELECT Id From Tags Where TagName LIKE @TagName

Enter Parameters

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