Challenge: Product Name Formatting
Opgave
Swipe to start coding
- Select all rows from the
productstable. - Include
product_idand the originalproduct_namein the result. - Add a new column that converts
product_nameto uppercase using a string function. - Add another new column that extracts the first 3 characters of
product_nameusing a string function. - Give both new columns clear aliases:
product_name_upperandproduct_name_first3.
Løsning
Var alt klart?
Tak for dine kommentarer!
Sektion 4. Kapitel 7
single
Spørg AI
Spørg AI
Spørg om hvad som helst eller prøv et af de foreslåede spørgsmål for at starte vores chat
Fantastisk!
Completion rate forbedret til 5.56
Challenge: Product Name Formatting
Stryg for at vise menuen
Opgave
Swipe to start coding
- Select all rows from the
productstable. - Include
product_idand the originalproduct_namein the result. - Add a new column that converts
product_nameto uppercase using a string function. - Add another new column that extracts the first 3 characters of
product_nameusing a string function. - Give both new columns clear aliases:
product_name_upperandproduct_name_first3.
Løsning
Var alt klart?
Tak for dine kommentarer!
Sektion 4. Kapitel 7
single