Deals Of The Week - hours only!Up to 80% off on all courses and bundles.-Close
Basic multi-level aggregation
Multi-level aggregation in groups
Multi-level aggregation with custom classification
Three or more aggregation levels
18. Question 3


Perfect! We have one final question for you.


We want to see if cheaper products are currently being ordered in larger quantities.

Create a report with two columns: price_category (which will contain either 'cheap' for products with a maximum unit_price of 20.0 or 'expensive' otherwise) and avg_products_on_order (the average number of units on order for a given price category).