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)

Stack Overflow

Q&A for professional and enthusiast programmers

-- Top users from Warsaw, Poland


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

Enter Parameters

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