Only this week, get the SQL Complete Track of 9 courses in a special prize of $330$89!
Introduction
ROWS
RANGE
17. Range – exercise 2
Default window frame
Summary

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.