Downvoted Post on SO


Please login or register to vote for this query.

(click on this box to dismiss)

Stack Overflow

Q&A for professional and enthusiast programmers

select top 20 count(v.postid) as 'Vote count', v.postid AS [Post Link],p.body
from votes v inner join posts p on
where p.PostTypeId = 1 and v.VoteTypeId=2
group by v.postid,p.body
order by count(v.postid) desc

Enter Parameters

Switch sites:
loading Hold tight while we fetch your results