Deals Of The Week - hours only!Up to 80% off on all courses and bundles.-Close
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


Great! Here comes the next one!


Select the name of each product category and the revenue (name that column revenue) that it generated. Sort the results by revenue in descending order.

Show a product category even if there were no sales for a particular category. In this case, the revenue is null.

Stuck? Here's a hint!

You need to LEFT JOIN the following tables together:

  • categories.
  • products.
  • order_items.