Save up to $499! Grab all Python courses for $49 or all online courses we’ve ever launched for only $169. Only Feb 11-16. Happy Valentine's!
Introduction
ROWS
RANGE
Default window frame
Summary
23. Exercise 1

Instruction

Let's start with the first question!

Exercise

For each row from the department where DepartmentId = 2, show its DepartmentId, Year, Amount, and the total amount from the current year plus and the two previous years. Name the column TotalAmount.