Customer Zones and Points
EasyDescription
For each customer, show customer_id, city, zone and points:
zoneisNorthfor Delhi,Westfor Mumbai,Southfor Bengaluru and Chennai, andOtherfor every other citypointsisloyalty_points, but NULL when it is 0
End your query with ORDER BY customer_id.
Tables
| customers |
|---|
| customer_id (PK) |
| full_name |
| city |
| loyalty_points |