Top Users by Country

0

Please login or register to vote for this query.

(click on this box to dismiss)

Esperanto Language

Q&A for teachers and students of the Esperanto language

SELECT 
    (CASE WHEN LOWER(Location) LIKE '%canada%' THEN 'Canada'
    WHEN LOWER(Location) LIKE '%switzerland%' THEN 'Switzerland'
    END) as country, COUNT(Id)
FROM 
    Users
WHERE
    Reputation > 1000
GROUP by (CASE WHEN LOWER(Location) LIKE '%canada%' THEN 'Canada'
        WHEN LOWER(Location) LIKE '%switzerland%' THEN 'Switzerland'
        END)

Enter Parameters

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