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

Instruction

Fantastic! Let's do the last exercise.

Exercise

Our finance department needs to estimate future cash flows for each date. To do that, we need to show each order's Id, PlacedDate, TotalPrice, and the total sum of all order prices from the same day or any later date. Name the column FutureCashFlow.

Stuck? Here's a hint!

Use RANGE BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING.