Most Upvoted Answers

0

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)

Craft CMS Meta

Q&A about the site for administrators, end users, developers and designers for Craft CMS

-- Most Upvoted Answers of All Time
-- The most Upvoted qAnswers of All Time on SO

select top 50000 count(v.postid) as 'Vote count', v.postid, max(p.Score) as [Score], max(p.CreationDate) as [Created At],max(q.Title) as [Question], p.body as [Answer]
from votes v 
inner join posts p on p.id=v.postid
inner join posts q on p.ParentId=q.id
where q.PostTypeId = 1 and p.PostTypeId = 2 and v.VoteTypeId=2 and p.body NOT LIKE '%<a href=%' and p.CreationDate > '2016-09-01' and p.CreationDate < '2016-10-01'
group by v.postid,p.body
order by 'Vote count' desc

Enter Parameters

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