Introduction
ROWS
RANGE
17. Range - exercise 2
Default window frame
Revision

Instruction

Fantastic! Let's do two more exercises.

Exercise

For each stock_change, show its id, changed date and the number of any stock changes that took place on the same day or any time earlier.

Stuck? Here's a hint!

You'll need to use RANGE UNBOUNDED PRECEDING.

Console

Code editor

Result

TableConsole