Q&A for those who study, teach, research and apply economics and econometrics
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