User count by Location

1

Please login or register to vote for this query.

(click on this box to dismiss)

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

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

SELECT Reputation, Location
FROM
    Users
WHERE 
    Reputation >= 10000
    AND (Location LIKE '%, NY%' 
    or UPPER(Location) LIKE '%NEW YORK%' 
    or UPPER(Location) LIKE '%NEW YORK CITY%'
    or UPPER(Location) LIKE '%BUFFALO%'
    or UPPER(Location) LIKE '%YONKERS%')
    AND Location NOT LIKE '%, UK%'
    AND UPPER(Location) NOT LIKE '%UNITED KINGDOM'

Enter Parameters

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