Most viewed questions in tag

0

Please login or register to vote for this query.

(click on this box to dismiss)

Arts and Crafts Meta

Q&A about the site for artists and crafters

DECLARE @Tag VARCHAR(25) = '##Tag##'

SELECT TOP 1000
Questions.Id 
AS [Post Link],
Questions.Tags,
Questions.AnswerCount, 
Questions.ViewCount

FROM Posts AS Questions
    INNER JOIN PostTags 
    ON PostTags.PostId = Questions.Id
    INNER JOIN Tags
    ON Tags.Id = PostTags.TagId
    
WHERE Tags.TagName = @Tag

ORDER BY ViewCount DESC

Enter Parameters

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