Deals Of The Week - hours only!Up to 80% off on all courses and bundles.-Close
Get to know the data
Get to know the OVER() clause
Computations with OVER()
Aggregate functions with OVER()
11. Practice 2
Using OVER() with WHERE
Summary

Instruction

Excellent job! Another exercise coming. This time, we'll try two window functions at once.

Exercise

For all purchases from any department, show the Id, Item, Price, average price (as AvgPrice) and the sum of all prices in that table (as TotalPrice).

Stuck? Here's a hint!

Separate both window functions with a comma, just as you separate columns.