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

bookChallenge: Product Name Formatting

Aufgabe

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.

Lösung

War alles klar?

Wie können wir es verbessern?

Danke für Ihr Feedback!

Abschnitt 4. Kapitel 7
single

single

Fragen Sie AI

expand

Fragen Sie AI

ChatGPT

Fragen Sie alles oder probieren Sie eine der vorgeschlagenen Fragen, um unser Gespräch zu beginnen

close

bookChallenge: Product Name Formatting

Swipe um das Menü anzuzeigen

Aufgabe

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.

Lösung

Switch to desktopWechseln Sie zum Desktop, um in der realen Welt zu übenFahren Sie dort fort, wo Sie sind, indem Sie eine der folgenden Optionen verwenden
War alles klar?

Wie können wir es verbessern?

Danke für Ihr Feedback!

Abschnitt 4. Kapitel 7
single

single

some-alt