Introduction
ROWS
RANGE
Default window frame
Revision
24. Exercise 2

Instruction

Nice! Another exercise now.

Exercise

For each row from department with id = 1, show its department_id, year, amount and the running average amount from all rows up to the current rows, sorted by the year.

Console

Code editor

Result

TableConsole