SELECT TOP 100 ROW_NUMBER() OVER(ORDER BY Reputation DES...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Physical Fitness Meta

Q&A about the site for physical fitness professionals, athletes, trainers, and those providing health-related needs

-- Top 100 Users in East Africa
-- Created by Gad (https://stackoverflow.com/users/13536893/gad)

SELECT
    TOP 100
    ROW_NUMBER() OVER(ORDER BY Reputation DESC) AS [Id], 
    Id AS [User Link], 
    Reputation AS [Reputations],
    Location,
    WebsiteUrl AS [Website],
    YEAR(GETDATE()) - YEAR(CreationDate) AS [Years]
    
FROM
    Users
WHERE
    LOWER(Location) LIKE LOWER('%DRC%')
ORDER BY
    Reputation DESC;

Enter Parameters

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