Summer Deals - hours only!Up to 80% off on all courses and bundles.-Close
Introduction
Custom classifications of business objects
Custom grouping of business objects
Custom counting of business objects
Summary
16. Question 1

Instruction

Okay, let's start with Question 1!

Exercise

For each product, show the following columns: product_id, product_name, unit_price, and price_level. The price_level column should show one of the following values:

  • 'expensive' for products with a unit price above 100.
  • 'average' for products with a unit price above 40 but no more than 100.
  • 'cheap' for other products.