SELECT ROW_NUMBER() OVER(ORDER BY Reputation DESC) AS [#]...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Moderators

Q&A for community managers, administrators, and moderators

SELECT
    ROW_NUMBER() OVER(ORDER BY Reputation DESC) AS [#], 
    Id AS [User Link], 
    Reputation
FROM
    Users
WHERE
    LOWER(Location) LIKE '%Bengaluru%'
    OR UPPER(Location) LIKE '%Bengaluru%'
    or Location like '%Bengaluru%'
    AND Reputation >= 1000
ORDER BY
    Reputation DESC;

Enter Parameters

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