🙏 We need your help! SQLtest.online has no ads and lives only on donations. Even a small amount helps. Donate now →
SQL code copied to buffer
Task 96:

Highest Replacement Cost Movies

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 sub-query condition. 
Write a query that returns the film_id, title and replacement_cost fields in ascending order of film_id field.
Expected result Columns: 3 · Rows: 53
film_id title replacement_cost

Sample rows open after wrong checks: 0 of 2

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

Tutorial

By checking a query, you agree that it is stored without your account details and may be included in anonymized datasets, including for AI training. Learn more

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