Top users by location (country or city)

0

Please login or register to vote for this query.

(click on this box to dismiss)

List of users in 'Location', by reputation score. Forked and modify from an original query by BoltClock.

Craft CMS Meta

Q&A about the site for administrators, end users, developers and designers for Craft CMS

-- Top users by location
-- List of users in 'Location', by reputation score.
-- 
-- Forked from an original query by BoltClock.

SELECT
    ROW_NUMBER() OVER(ORDER BY Reputation DESC) AS [#], 
    Id AS [User Link],
    CONCAT('=HYPERLINK(', '"http://stackoverflow.com/users/', Id, '", "', DisplayName, '")') AS 'Link in CSV',
    Location,
    Reputation,
    LastAccessDate,
    WebsiteUrl,
    AboutMe,
    CreationDate AS 'Join Date'    
FROM
    Users
WHERE
    LOWER(Location) LIKE LOWER('%##Location##%')
ORDER BY
Reputation DESC;

Enter Parameters

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