User's Rank in a location with min rep cap

0

Please login or register to vote for this query.

(click on this box to dismiss)

Drupal Answers Meta

Q&A about the site for Drupal developers and administrators

SELECT
    ROW_NUMBER() OVER(ORDER BY Reputation DESC) AS [#], 
    Id AS [User Link], 
    DisplayName,
    Reputation,
    Location,
    Views,
    ProfileImageUrl,
    AboutMe
FROM
    Users
WHERE
    Reputation >= '##MinReputation:int?200##' AND
    LOWER(Location) LIKE LOWER('%##Location##%')
ORDER BY
    Reputation DESC;
    
-- MinReputation: Minimum Reputation "The minimum reputation required for a user to be listed"

Enter Parameters

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