Most Upvoted Answers


Please login or register to vote for this query.

(click on this box to dismiss)

The top 20 answers with the most up-votes (ignores down-votes)

Role-playing Games

Q&A for gamemasters and players of tabletop, paper-and-pencil role-playing games

-- Most Upvoted Answers of All Time
-- The most Upvoted qAnswers of All Time on SO
declare @TagString nvarchar(25) = ##tagName:string##
select top 50 count(v.postid) as 'Vote count', v.postid AS [Post Link],p.body
from votes v 
inner join posts p on
where PostTypeId = 2 and VoteTypeId=2
And ParentId in
    select PostId 
    from PostTags 
    where TagId =
      select Id 
      from Tags 
      where TagName = @TagString
  AND p.CreationDate > GETDATE() - ##Days##
  AND p.CreationDate < GETDATE() - ##Olddays##
group by v.postid,p.body
order by 'Vote count' desc

Enter Parameters

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