Get top users by country

0

Please login or register to vote for this query.

(click on this box to dismiss)

Get top users by country

Craft CMS Meta

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

-- Get top users by country
-- Get top users by country

SELECT
    ROW_NUMBER() OVER(ORDER BY Reputation DESC) AS [#], 
    Id AS [User Link], 
    Reputation
FROM
    Users
WHERE
    LOWER(Location) LIKE '%##Country Name##%'
ORDER BY
    Reputation DESC;

Enter Parameters

Options:
Switch sites:
loading Hold tight while we fetch your results