Deals Of The Week - hours only!Up to 80% off on all courses and bundles.-Close
Introduction
Method One
Method Two
Method Three
Summary
11. Question 1

Instruction

Let's start with Question 1!

Exercise

Count the number of products with low, average, and high prices. Show two columns:

  • price_category – low for products with a unit price less than or equal to 30, average for products between 30 and 90, and high for products with a unit price above 90.
  • product_count – the number of products in a given group.