Top users by country

0

Please login or register to vote for this query.

(click on this box to dismiss)

Psychology & Neuroscience Meta

Q&A about the site for practitioners, researchers, and students in cognitive science, psychology, neuroscience, and psychiatry

SELECT
    Top ##Top##
    ROW_NUMBER() OVER(ORDER BY Reputation DESC) AS [#], 
    users.Id AS [User Link], 
    Reputation
FROM
    Users inner join posts
    on users.id=posts.owneruserid
WHERE
     LOWER(Location) LIKE LOWER('%##FullCountryName##%') and Tags like N'%sql%'
ORDER BY
    Reputation DESC;

Enter Parameters

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