SQL code copied to buffer
RU PT FR
Task 70:

Find film distribution

Count the number of copies of each movie at each store.
Display a table with columns film_id, title - fiml title, store_1_count - count of copies in first store, store_2_count - count of copies in second store and total_count - total amount of film copies. Order the table by film_id.

Use MySQL syntax to write your answer. Descriptions of tables are provided in the right pane.

Write your request in the field below and click the "Check it!" button.
Get hint
Copy code Clear editor

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

Privacy & Cookie Policy.