Introduction
Simple OVER()
PARTITION BY
Ranking functions
16. Ranking Functions – Exercise 2
Window Frames
Analytic Functions
PARTITION BY ORDER BY
Order of Evaluation
Finished!

Instruction

Fine job! Let's do three more ranking exercises.

Exercise

Rank SingleRentals by the price paid for them. For each SingleRental, show the Title, the RentalPeriod, the PaymentAmount and the rank. Multiple SingleRentals can share the same rank; those with the highest amount paid should have Rank = 1. Gaps in numbering are allowed.

Stuck? Here's a hint!

Join two tables: Movie and SingleRental.