Deals Of The Week - hours only!Up to 80% off on all courses and bundles.-Close
Introduction
ROWS
RANGE
Default window frame
Summary
24. Exercise 2

Instruction

Nice! Another exercise now.

Exercise

For each row from the department where DepartmentId = 1, show its DepartmentId, Year, Amount, and the running average amount from all rows up to the current row, sorted by Year. Name the column AvgAmount.