Introduction
LEAD and LAG
FIRST_VALUE, LAST_VALUE, NTH_VALUE
Revision
28. Exercise 2

Instruction

Great! Let's move to exercise 2.

Exercise

For each row, show the day, the price on that day, the price 7 days earlier and the difference between these two values.

Console

Code editor

Result

TableConsole