Question: 3 . 1 0 . 1 lab multiple joins with aggregate ( sakila ) Initialize.sql } times mathrm { Main.sql } actor.first _

3.10.1 lab multiple joins with aggregate (sakila)
Initialize.sql }\times\mathrm{ Main.sql }
actor.first_name,
ROUND(AVG(film.length))AS average
FROM actor
INNER JOIN film_actor ON
actor.actor_id=film_actor.actor_id
INNER JOIN film ON film_actor.film_id=
film.film_id
GROUP BY actor.actor_idHAVING COUNT (*)>0
ORDER BY average DESC
actor.last_name ASC;
CONSOLE
ERROR 1064(42000) at line 1: You have an error in your SQL syn
ORDER BY average DESC
actor.last_name ASC' at line 9
3 . 1 0 . 1 lab multiple joins with aggregate (

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!