Challenge: Price Tier Assignment
Tehtävä
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'.
Ratkaisu
Oliko kaikki selvää?
Kiitos palautteestasi!
Osio 1. Luku 5
single
Kysy tekoälyä
Kysy tekoälyä
Kysy mitä tahansa tai kokeile jotakin ehdotetuista kysymyksistä aloittaaksesi keskustelumme
Mahtavaa!
Completion arvosana parantunut arvoon 4.17
Challenge: Price Tier Assignment
Pyyhkäise näyttääksesi valikon
Tehtävä
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'.
Ratkaisu
Oliko kaikki selvää?
Kiitos palautteestasi!
Osio 1. Luku 5
single