SELECT Location, COUNT(Id) loc_count FROM Users WHERE LO...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Chinese Language

Q&A for students, teachers, and linguists wanting to discuss the finer points of the Chinese language

--SELECT TOP 100 *
--FROM Users
--WHERE LOWER(Location) LIKE '%latvia%'

SELECT Location, COUNT(Id) loc_count
FROM Users
WHERE LOWER(Location) LIKE '%latvia%' OR Location LIKE '%Riga %' OR Location LIKE '%Rīga %' OR Location LIKE '%Riga,%'
GROUP BY Location
ORDER BY loc_count DESC

Enter Parameters

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