Top Users by Country and >Reputation

1

Please login or register to vote for this query.

(click on this box to dismiss)

Stack Overflow на русском Meta

Вопросы и ответы о сайте для программистов

-- Top Users by Country and >Reputation
-- Created by MohamadKh75 (https://stackoverflow.com/users/4565015/mohamadkh75)

SELECT
    ROW_NUMBER() OVER(ORDER BY Reputation DESC) AS [#], 
    Id AS [User Link], 
    Reputation
    
FROM
    Users
    
WHERE
    LOWER(Location) LIKE LOWER('%##CountryName##%')
    AND
    Reputation < CAST('##Reputation##' AS varchar)

    
ORDER BY
    Reputation DESC;

Enter Parameters

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