User Rank and Hoarded Rep

1

Please login or register to vote for this query.

(click on this box to dismiss)

Android Enthusiasts

Q&A for enthusiasts and power users of the Android operating system

Select p.Id as [User Link], p.Ranking, Total
From
  (Select 
    Id, 
    ROW_NUMBER() OVER(ORDER BY Reputation DESC) as Ranking,
    Sum(Case when Id = 0 then 1 else 1 end) as Total
  From 
    Users
  Group By Id, Reputation) as p

Where p.Id = ##UserId##

Enter Parameters

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