Course Content
Practice SQL with Cinema Database
Practice SQL with Cinema Database
Best Selling Movies
Swipe to show code editor
For each cinema, let's order movies from the most selling to the least one. Print records in the following format: cinema_id
, movie_id
, sales
(for total sales). Remember to order records by cinema's first but by total sales then (starting with the best selling one).
Thanks for your feedback!
Best Selling Movies
Swipe to show code editor
For each cinema, let's order movies from the most selling to the least one. Print records in the following format: cinema_id
, movie_id
, sales
(for total sales). Remember to order records by cinema's first but by total sales then (starting with the best selling one).
Thanks for your feedback!