Rank users by Country


Please login or register to vote for this query.

(click on this box to dismiss)

Joomla Meta

Q&A about the site for Joomla! administrators, users, developers and designers

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 main site
loading Hold tight while we fetch your results