Loyalty Tiers and Phones
EasyDescription
For each customer, show customer_id, full_name, phone (the text Not provided
when the phone is missing) and tier:
goldwith 3000 or more loyalty pointssilverwith 1200 or morebronzeotherwise
End your query with ORDER BY customer_id.
Tables
| customers |
|---|
| customer_id (PK) |
| full_name |
| phone |
| loyalty_points |