Challenge: Product Name Formatting
Oppgave
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
Alt var klart?
Takk for tilbakemeldingene dine!
Seksjon 4. Kapittel 7
single
Spør AI
Spør AI
Spør om hva du vil, eller prøv ett av de foreslåtte spørsmålene for å starte chatten vår
Fantastisk!
Completion rate forbedret til 5.56
Challenge: Product Name Formatting
Sveip for å vise menyen
Oppgave
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
Alt var klart?
Takk for tilbakemeldingene dine!
Seksjon 4. Kapittel 7
single