Rank users by Country


Please login or register to vote for this query.

(click on this box to dismiss)


Q&A for professionals and students of engineering

SELECT Row_Number() over (order by sum(Reputation) desc) as 'Rank',  
  Location, count(*) as 'User Count', sum(Reputation) as 'Collective Rep',
  sum(Reputation)/count(*) as 'Rep/User'
FROM Users
where Location <> ''
group by Location
order by sum(Reputation) desc

Enter Parameters

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