Detta borde göra det: SELECT City, COUNT(CustomerID) as CustomersPerCity FROM Customers GROUP BY City