Orders by City and by Status
MediumDescription
In one query, count the orders per shipping_city and, separately, per status.
Don't include rows for a city and status together. Show:
dimension:cityorstatusvalue: the city, or the status as textorders: the number of orders
End your query with ORDER BY dimension, orders DESC, value.
Tables
| orders |
|---|
| order_id (PK) |
| status |
| shipping_city |