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)

Drupal Answers Meta

Q&A about the site for Drupal developers and administrators

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