SQL code copied to buffer
RU PT FR
Task 137:

Distribution of films by categories in JSON format

Find the number of films in each category.
Return the result in JSON format like [{"Action": 64}, {"Animation": 66}, ...] in the films_by_category column.

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.