Challenge: Customer Sales Report
Task
Swipe to start coding
Write a query to generate a customer sales report by combining data from the customers and sales tables. The report should display each customer's first and last name, along with the quantity for each sale.
- Join the
customersandsalestables using the customer ID. - Select the customer's first name and last name.
- Include the quantity of each sale in the result.
Solution
Everything was clear?
Thanks for your feedback!
SectionΒ 3. ChapterΒ 1
single
Ask AI
Ask AI
Ask anything or try one of the suggested questions to begin our chat
Suggested prompts:
Can you explain this in simpler terms?
What are the main points I should remember?
Can you give me an example?
Awesome!
Completion rate improved to 5.56
Challenge: Customer Sales Report
Swipe to show menu
Task
Swipe to start coding
Write a query to generate a customer sales report by combining data from the customers and sales tables. The report should display each customer's first and last name, along with the quantity for each sale.
- Join the
customersandsalestables using the customer ID. - Select the customer's first name and last name.
- Include the quantity of each sale in the result.
Solution
Everything was clear?
Thanks for your feedback!
SectionΒ 3. ChapterΒ 1
single