Most viewed questions in a tag

0

Please login or register to vote for this query.

(click on this box to dismiss)

Show top 2000 posts by ViewCount in a tag

Parenting

Q&A for parents, grandparents, nannies and others with a parenting role

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

SELECT ALL
  p.Tags, p.AnswerCount, p.CreationDate, p.AcceptedAnswerId
FROM Tags t
JOIN PostTags pt ON pt.TagId = t.Id 
JOIN Posts as p ON p.Id = pt.PostId
WHERE TagName = @tag0
ORDER BY p.ViewCount DESC

Enter Parameters

Options:
Switch sites:
loading Hold tight while we fetch your results