Deals Of The Week - hours only!Up to 80% off on all courses and bundles.-Close
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.