What was the cost for the most expensive movie(s) in the collection? [duplicate]
问题 This question already has answers here : Oracle SELECT TOP 10 records (6 answers) Oracle SQL - How to Retrieve highest 5 values of a column [duplicate] (5 answers) Closed 2 months ago . Hey guys I know the code to show the most expensive movie but what's the one that will show the most expensive and ones right below it. I think that's the question. This is the code I got for one movie. SELECT * FROM movie WHERE purchase_price = (SELECT MAX(purchase_price) FROM movie); 回答1: Well since your