Deals Of The Week - hours only!Up to 80% off on all courses and bundles.-Close
Introduction
Exercises with artists, museums and their pieces of art
Exercises with the band members table
Exercises with tables of Japanese 100 Yen store
Exercises with employees, salaries and benefits

Instruction

Great! Don't give up!

Exercise

Select the first and last name of each client, the name of the category they purchased from (in any of their orders), and the total amount of money they spent on this product category (name this column TotalAmount).

Stuck? Here's a hint!

You need to use regular JOINs to join all tables from our database.

Sum all prices and group by first and last name of a client, and by the name of a category.