Challenge: Product Purchase Details
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
Everything was clear?
Thanks for your feedback!
SectionΒ 3. ChapterΒ 2
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 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
Everything was clear?
Thanks for your feedback!
SectionΒ 3. ChapterΒ 2
single