Save up to $499! Grab all Python courses for $49 or all online courses we’ve ever launched for only $169. Only Feb 11-16. Happy Valentine's!
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.