User rank by Location

1

Please login or register to vote for this query.

(click on this box to dismiss)

Display a rank filtering by Location

Gardening and Landscaping Meta

Q&A about the site for gardeners and landscapers

SELECT
    ROW_NUMBER() OVER (ORDER BY Reputation DESC) as '#',
    Id, DisplayName, Reputation, Location
FROM Users 
WHERE Location LIKE '%' + ##Location## + '%'
AND Reputation > 1
ORDER BY Reputation DESC

Enter Parameters

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