Kickstart 2020 with new opportunities! - hours only!Up to 80% off on all courses and bundles.-Close
Introduction
Quick Refresher
PARTITION BY ORDER BY with Ranking
PARTITION BY ORDER BY with Window Frames
15. More Practice Time!
Using PARTITION BY ORDER BY with Analytical Functions
Summary and Review

## Instruction

Excellent. One more!

## Exercise

For each sales row, show the following information: StoreId, Day, Revenue, and the future cash flow receivable by headquarters (i.e. the total revenue in that store, counted from the current day until the last day in our table). Name the column FollowingRevenue.

### Stuck? Here's a hint!

Use:

ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING