There is very little time left until the end of the month! Help us pay for hosting and infrastructure. 🖥️ Support sqltest →
SQL code copied to buffer
Task

Find highly rated actors

Find the top 5 actors with the highest average ratings for the films they starred in.
Write a query that returns a table of three columns: actor_id, actor_name - the actor's first and last name separated by a space and avg_film_rating - average rating of films with his participation, sorted in descending order of rating.

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.