Highest downvotes-to-upvotes users

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 top (##TopX?100##)
    row_number()
    over (order by DownVotes/(UpVotes+1) desc, DownVotes asc, DisplayName, Id)
        as Rank,
    Id as [User Link],
    DownVotes/(UpVotes+1) as Ratio,
    UpVotes,
    DownVotes,
    LastAccessDate
into #Voters
from Users
where Id <> -1

select *
from #Voters
order by Rank

select Rank, UpVotes
from #Voters
order by Rank

Enter Parameters

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