Die Anzahl der Kunde welche aus Deutschland oder Mexico kommen, sortiert nach Anzahl:
SELECT country, COUNT(country) AS Anzahl
FROM customers WHERE country=’Germany‘ OR country=’Mexico‘
GROUP BY country
ORDER BY Anzahl
Aufsteigende Sortierung entweder ORDER BY Feld ASC oder nur
ORDER BY Feld Absteigende Sortierung ORDER BY Feld DESC
Group by / Order by