When window functions are evaluated
Window functions and GROUP BY
Summary

Instruction

Good job, let's do one more exercise of this kind before we move on.

Exercise

Group the auctions by category_id and show the category_id and maximal asking price in that category alongside the average maximal price across all categories.

Stuck? Here's a hint!

Use

AVG(MAX(asking_price)) OVER()
as the window function.

Code editor

TableConsole