Introduction
ROWS
RANGE
17. Range – practice 2
Default window frame
Summary

Instruction

Well done! Two more exercises to go.

Exercise

For each StockChange, show its Id, the ChangedDate, and the number of stock changes that took place on the same day or any time earlier. Name this column StockChangeNumber.

Stuck? Here's a hint!

You'll need to use RANGE UNBOUNDED PRECEDING.