Shipping Tier
MediumDescription
For orders 16 to 30, show order_id and shipping_tier, using the first rule that
applies:
- cancelled or returned orders get no tier (NULL)
expresswhentotal_amountis 15000 or morestandardwhen shipping to Delhi, Mumbai, Bengaluru or Chennaieconomyfor every other order
End your query with ORDER BY order_id.
Tables
| orders |
|---|
| order_id (PK) |
| customer_id (FK) |
| order_date |
| status |
| total_amount |
| shipping_city |