Deals Of The Week - hours only!Up to 80% off on all courses and bundles.-Close
Introduction
Nested CTEs
Summary
13. Exercise 1

Instruction

All right, let's tackle the first question!

Exercise

Find the maximum number of items sold in each city on each day. Then, calculate the average maximum number of items sold in each city across all days. Finally, count the number of cities where the average maximal number of items sold is greater than 18. Name the last column CityNumber.