Deals Of The Week - hours only!Up to 80% off on all courses and bundles.-Close
Window functions and GROUP BY
Summary and Review


Good job! Let's do one more exercise before we move on.


Group the auctions by CategoryId and show the CategoryId and MaxAskingPrice for that category alongside the AvgMaxAskingPrice across all categories.

Stuck? Here's a hint!


AVG(MAX(AskingPrice)) OVER()

as the window function.