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' FROM Users where Location <> '' group by Location order by sum(Reputation) desc