Top Users by Country

0

Please login or register to vote for this query.

(click on this box to dismiss)

Created by samliew (http://stackoverflow.com/users/584192/samuel-liew)

Gardening and Landscaping

Q&A for gardeners and landscapers

-- Top Users by Country
-- Created by samliew (http://stackoverflow.com/users/584192/samuel-liew)

SELECT
    ROW_NUMBER() OVER(ORDER BY Reputation DESC) AS [#], 
    Location,
    Users.Id AS [User Link], 
    Reputation,
    Tags
FROM
    Users,
    Posts
WHERE
    Users.Id = LastEditorUserId and
    LOWER(Location) LIKE LOWER('%##CountryName##%')
ORDER BY
    Reputation DESC;

Enter Parameters

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