Challenge: Product Name Formatting
Task
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.
Solution
Everything was clear?
Thanks for your feedback!
SectionΒ 4. ChapterΒ 7
single
Ask AI
Ask AI
Ask anything or try one of the suggested questions to begin our chat
Awesome!
Completion rate improved to 5.56
Challenge: Product Name Formatting
Swipe to show menu
Task
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.
Solution
Everything was clear?
Thanks for your feedback!
SectionΒ 4. ChapterΒ 7
single