Introduction
Simple OVER()
9. OVER() – Exercise 2
PARTITION BY
Ranking functions
Window frame
Analytic functions
ORDER BY PARTITION BY
Order of evaluation
Summary

Instruction

That's right, good start! Let's move on.

Exercise

Show each subscription: id, length, start_date, payment_amount and the total amount paid for all subscriptions ever.

Stuck? Here's a hint!

Use SUM() as the aggregate function.

Console

Code editor

Result

TableConsole