Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Learn Challenge: Product Purchase Details | Joining Tables for Richer Analysis
SQL for Data Analysis
SectionΒ 3. ChapterΒ 2
single

single

bookChallenge: Product Purchase Details

Swipe to show menu

Task

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.

Solution

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

SectionΒ 3. ChapterΒ 2
single

single

Ask AI

expand

Ask AI

ChatGPT

Ask anything or try one of the suggested questions to begin our chat

some-alt