Deals Of The Week - hours only!Up to 80% off on all courses and bundles.-Close
Introduction
ROWS
RANGE
18. Range – exercise 3
Default window frame
Summary

Instruction

Fantastic! Let's do the last exercise.

Exercise

Our finance department needs to calculate future cashflows for each date. Let's help them. In order to do that, we need to show each order: its id, placed date, total_price and the total sum of all prices of orders from the very same day or any later date.

Stuck? Here's a hint!

Use RANGE BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING.