Least downvoted users

3

Please login or register to vote for this query.

(click on this box to dismiss)

The last 100 users in order of the downvote against / total reputation ratio

Stack Overflow

Q&A for professional and enthusiast programmers

-- Least downvoted users
-- The last 100 users in order of the downvote against / total reputation ratio

select top 100 
  u.Id as [User Link], 
  u.Reputation, 
  count(*) as Downvotes,  
  (u.Reputation + 0.0) / (count(*) + 0.0) as Ratio  
from Users u 
join Posts p on u.Id = p.OwnerUserId
join Votes v on v.PostId = p.Id
where u.Reputation > 10000 and v.VoteTypeId = 3
group by u.Id, u.Reputation
order by (u.Reputation + 0.0) / (count(*) + 0.0) desc

Enter Parameters

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