Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lære Challenge: Product Purchase Details | Joining Tables for Richer Analysis
SQL for Data Analysis

bookChallenge: Product Purchase Details

Opgave

Swipe to start coding

Write a SQL query to display which customers bought which products and in what quantity. Use the sales, customers, and products tables.

  • Select the customer's full name by combining their first and last names.
  • Select the product name.
  • Select the quantity purchased.
  • Join the tables so that each row shows the correct customer, product, and quantity for every sale.

Løsning

Var alt klart?

Hvordan kan vi forbedre det?

Tak for dine kommentarer!

Sektion 3. Kapitel 2
single

single

Spørg AI

expand

Spørg AI

ChatGPT

Spørg om hvad som helst eller prøv et af de foreslåede spørgsmål for at starte vores chat

close

bookChallenge: Product Purchase Details

Stryg for at vise menuen

Opgave

Swipe to start coding

Write a SQL query to display which customers bought which products and in what quantity. Use the sales, customers, and products tables.

  • Select the customer's full name by combining their first and last names.
  • Select the product name.
  • Select the quantity purchased.
  • Join the tables so that each row shows the correct customer, product, and quantity for every sale.

Løsning

Switch to desktopSkift til skrivebord for at øve i den virkelige verdenFortsæt der, hvor du er, med en af nedenstående muligheder
Var alt klart?

Hvordan kan vi forbedre det?

Tak for dine kommentarer!

Sektion 3. Kapitel 2
single

single

some-alt