Deals Of The Week - 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: ProductID, ProductName, UnitPrice, and PriceLevel. The PriceLevel column should show one of the following values:

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

Stuck? Here's a hint!