Course Content
Practice SQL with Cinema Database
Practice SQL with Cinema Database
Best Selling Movies
Task
Swipe to start coding
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).
Solution
Everything was clear?
Thanks for your feedback!
Section 1. Chapter 4
Best Selling Movies
Task
Swipe to start coding
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).
Solution
Everything was clear?
Thanks for your feedback!
Section 1. Chapter 4