Introduction
ROWS
RANGE
Default window frame
Revision
25. Exercise 3

Instruction

Good job! Ok, the last exercise.

Exercise

For each row sorted by the year, show its department_id, year, amount, the average amount from all departments in the given year and the difference between the amount and the average amount.

Console

Code editor

Result

TableConsole