downvoted question

0

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
    PostId /*as [Post Link]*/, 
    down = sum(case when VoteTypeId = 3 then 1 else 0 end)
from Votes
where VoteTypeId = 3
group by PostId
order by 2 desc

Enter Parameters

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