Group by / Order by
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