Top N users for tag located in city / country (for answers)

3

Please login or register to vote for this query.

(click on this box to dismiss)

Select top N users by upvotes they received for their answers for a given tag located in the specified city or country

Science Fiction and Fantasy

Q&A for science fiction and fantasy enthusiasts

-- Top Users by Country
-- Created by Mihai Todor (http://stackoverflow.com/users/1174378/mihai-todor)
/*
SELECT
    ROW_NUMBER() OVER(ORDER BY Reputation DESC) AS [#], 
    Id AS [User Link], 
    Reputation
FROM
    Users
WHERE
    LOWER(Location) LIKE LOWER('%##CountryName##%')
ORDER BY
    Reputation DESC;
*/

--SELECT TOP 10 * FROM Tags ORDER BY Count DESC

SELECT * FROM TagSynonyms WHERE LOWER(SourceTagName) LIKE LOWER('%C++%') --ORDER BY Count DESC


SELECT * FROM TagSynonyms WHERE LOWER(SourceTagName) LIKE LOWER('%Cpp%')

Enter Parameters

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