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

Try this first exercise.

Exercise

Select the name of each category and the number of products it has.

Stuck? Here's a hint!

Use a LEFT JOIN or a RIGHT JOIN. Store may have categories of products which aren't in sale now.

Console

Code editor

Result

TableConsole