Show top 2000 posts by ViewCount in a tag
Q&A about the site for software engineers working on automated testing, continuous delivery, service integration and monitoring, and building SDLC infrastructure
DECLARE @tag0 nvarchar(25) = ##tag0:string?jquery## SELECT top 10 p.* 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.creationDate,p.ViewCount DESC