Top X downvoters

3

Please login or register to vote for this query.

(click on this box to dismiss)

Ask Ubuntu

Q&A for Ubuntu users and developers

select top (##TopX?50##)
    row_number()
        over (order by DownVotes desc, UpVotes asc, DisplayName, Id)
        as Rank,
    Id as [User Link],
    DownVotes,
    UpVotes,
    convert(decimal(10, 2), ((Cast(DownVotes as float)/UpVotes) * 100)) as Ratio
into #Downvoters
from Users
where Id <> -1

select *
from #Downvoters
order by Rank

Enter Parameters

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