What Percentile of Users am I in (reputation-wise)?

3

Please login or register to vote for this query.

(click on this box to dismiss)

Motor Vehicle Maintenance and Repair Meta

Q&A about the site for mechanics and DIY enthusiast owners of cars, trucks, and motorcycles

declare @UserCount decimal(18,4)
declare @UserRep bigint
declare @TopUsers decimal(18,4)

select @UserRep = reputation from users where Id = ##userid##

select @UserCount = count(1) from users where reputation > 1

select @TopUsers = count(1) from users where reputation >= @UserRep

select cast((@TopUsers/@UserCount)*100 as decimal(18,4)) UserPercentile

Enter Parameters

Options:
Switch to main site
loading Hold tight while we fetch your results