Query for Q159115


Please login or register to vote for this query.

(click on this box to dismiss)

Stack Overflow

Q&A for professional and enthusiast programmers

;With OrderedUsers As 
(Select Id, Sum(Reputation) Over( Order By Reputation Desc) As AggRep
From Users
Select Id As [User Link], AggRep
From OrderedUsers
Where AggRep = (Select Max(AggRep) From OrderedUsers Where AggRep < ##MaxAggRep##)

Enter Parameters

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