SELECT count(City), City
FROM table
GROUP BY City
ORDER BY count(City);
ELLER
SELECT count(City) as count, City
FROM table
GROUP BY City
ORDER BY count;
Ahh, förlåt, jag misstolkade din fråga. Jag tror att Peter Langs svar var det korrekta.
SELECT count(City), City
FROM table
GROUP BY City
ORDER BY count(City);
ELLER
SELECT count(City) as count, City
FROM table
GROUP BY City
ORDER BY count;
Ahh, förlåt, jag misstolkade din fråga. Jag tror att Peter Langs svar var det korrekta.