New month, new goals. Your help keeps the project moving forward. 🖥️ Support sqltest →
SQL code copied to buffer
Task 82:

Highest Replacement Cost Disks

MySQL
In case of loss, theft, damage or non-return of the rented disk, the client will be charged a replacement cost (replacement_cost). Find the movies with the highest replacement cost in the database using a window function and common table expression (CTE). 
Write a query that returns the film_id, title and replacement_cost fields in ascending order of film_id field.

Write your query below and click "Check it!". Tables are described in the right pane.

The query result will appear here. Ctrl+Enter - Run query

Hi! Could we please enable some services and cookies to improve your experience and our website?

Privacy & Cookie Policy.