What would the SQL query be to get the count of customers by city who placed one or more orders?

1 answer

Answer

1284407

2026-04-12 06:30

+ Follow

More information please, tables with definitions, what database are you using? With this information, it will be a straightforward query, such as select count(city) from customers, orders where orders.customer_number = customers.customer_number group by customers.city;

ReportLike(0ShareFavorite

Copyright © 2026 eLLeNow.com All Rights Reserved.