Most viewed questions in a tag


Please login or register to vote for this query.

(click on this box to dismiss)

Show top 2000 posts by ViewCount in a tag

Music Fans

Q&A for music historians, critics, and fans

DECLARE @tag0 nvarchar(25) = ##tag0:string?spring##

SELECT top 25
p.title,concat('',p.Id) as link,p.viewCount,p.answerCount,p.creationDate
FROM Tags t
JOIN PostTags pt ON pt.TagId = t.Id 
JOIN Posts as p ON p.Id = pt.PostId
WHERE TagName = @tag0
AND p.creationDate > '2019-11-01'
ORDER BY p.viewCount DESC

Enter Parameters

Switch sites:
loading Hold tight while we fetch your results