Summer Deals - 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

Try this first exercise.

Exercise

Select the name of each category and the number of products it has. Show zero for categories which have no products.

Stuck? Here's a hint!

Use a LEFT JOIN or a RIGHT JOIN. The store may have categories of products which aren't for sale now.