Top upvoters

0

Please login or register to vote for this query.

(click on this box to dismiss)

Programming Puzzles and Code Golf

Q&A for programming puzzle enthusiasts and code golfers

select top (##TopX?100##)
    row_number()
        over (order by UpVotes desc, DownVotes asc, DisplayName, Id)
        as Rank,
    Id as [User Link],
    UpVotes,
    DownVotes,
    LastAccessDate
into #Upvoters
from Users
where Id <> -1

select *
from #Upvoters
order by Rank

select Rank, UpVotes
from #Upvoters
order by Rank

Enter Parameters

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