The top 20 answers with the most up-votes (ignores down-votes)
Q&A for Drupal developers and administrators
-- Most Upvoted Answers of All Time -- The most Upvoted qAnswers of All Time on SO select top 20 count(v.postid) as 'Vote count', v.postid AS [Post Link],p.body from votes v inner join posts p on p.id=v.postid where PostTypeId = 2 and VoteTypeId=2 group by v.postid,p.body order by 'Vote count' asc