Challenge: Price Tier Assignment
Taak
Swipe to start coding
Assign a price tier label to each sale using the price value in the sales table. Add a new column called price_tier to the result set with the following logic:
- If the
priceis greater than 700, assign the value'Premium'. - If the
priceis between 300 and 700 inclusive, assign the value'Standard'. - Otherwise, assign the value
'Budget'.
Oplossing
Was alles duidelijk?
Bedankt voor je feedback!
Sectie 1. Hoofdstuk 5
single
Vraag AI
Vraag AI
Vraag wat u wilt of probeer een van de voorgestelde vragen om onze chat te starten.
Geweldig!
Completion tarief verbeterd naar 4.17
Challenge: Price Tier Assignment
Veeg om het menu te tonen
Taak
Swipe to start coding
Assign a price tier label to each sale using the price value in the sales table. Add a new column called price_tier to the result set with the following logic:
- If the
priceis greater than 700, assign the value'Premium'. - If the
priceis between 300 and 700 inclusive, assign the value'Standard'. - Otherwise, assign the value
'Budget'.
Oplossing
Was alles duidelijk?
Bedankt voor je feedback!
Sectie 1. Hoofdstuk 5
single