Introduction
6. Table subscription
Simple OVER()
PARTITION BY
Ranking functions
Window frame
Analytic functions
ORDER BY PARTITION BY
Order of evaluation
Summary

Instruction

Single rentals are not the only option in the store!

Exercise

Select all the information from the subscription table.

Real movie lovers get a subscription instead of single rentals. Each subscription has an id, a length (in days), a start_date, a platform (same as the platforms for single rentals), payment_date, payment_amount and customer_id.

Console

Code editor

Result

TableConsole