Most downvoted users

4

Please login or register to vote for this query.

(click on this box to dismiss)

The top 100 users in total downvotes received.

Stack Overflow

Q&A for professional and enthusiast programmers

select top 100 C.id as [User Link], sum(D.downvotes) as downvotes
from Users as C inner join (
  select A.id as postId, A.ownerUserId as userId, B.downvotes
  from Posts as A inner join (  
    select postId, count(*) as downvotes
    from Votes
    where voteTypeId = 3
    group by postId
  ) as B
  on A.id = B.postId
) as D
on C.id = D.userId
group by C.id
order by downvotes desc

Enter Parameters

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