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)

Game Development Meta

Q&A about the site for professional and independent game developers

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

Enter Parameters

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