Customers Who Never Cancelled
MediumDescription
Show customer_id, full_name and orders (their number of orders) for the customers
who have placed at least one order and have never had an order with the status
cancelled.
End your query with ORDER BY customer_id.
Tables
| customers |
|---|
| customer_id (PK) |
| full_name |
| orders |
|---|
| order_id (PK) |
| customer_id (FK) |
| status |