Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Apprendre Challenge: Product Name Formatting | Advanced SQL for Data Analysis
SQL for Data Analysis

bookChallenge: Product Name Formatting

Tâche

Swipe to start coding

  1. Select all rows from the products table.
  2. Include product_id and the original product_name in the result.
  3. Add a new column that converts product_name to uppercase using a string function.
  4. Add another new column that extracts the first 3 characters of product_name using a string function.
  5. Give both new columns clear aliases: product_name_upper and product_name_first3.

Solution

Tout était clair ?

Comment pouvons-nous l'améliorer ?

Merci pour vos commentaires !

Section 4. Chapitre 7
single

single

Demandez à l'IA

expand

Demandez à l'IA

ChatGPT

Posez n'importe quelle question ou essayez l'une des questions suggérées pour commencer notre discussion

close

bookChallenge: Product Name Formatting

Glissez pour afficher le menu

Tâche

Swipe to start coding

  1. Select all rows from the products table.
  2. Include product_id and the original product_name in the result.
  3. Add a new column that converts product_name to uppercase using a string function.
  4. Add another new column that extracts the first 3 characters of product_name using a string function.
  5. Give both new columns clear aliases: product_name_upper and product_name_first3.

Solution

Switch to desktopPassez à un bureau pour une pratique réelleContinuez d'où vous êtes en utilisant l'une des options ci-dessous
Tout était clair ?

Comment pouvons-nous l'améliorer ?

Merci pour vos commentaires !

Section 4. Chapitre 7
single

single

some-alt