Introduction
Exercises with artist, 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, names of categories they purchased from, and the total amount of money they spent on each product category.

Stuck? Here's a hint!

You need to use regular JOINs to join all tables from our database. Sum all prices. Group by first and last name of a client, and by the name of a category.

Console

Code editor

Result

TableConsole