Question: 3 . 1 0 . 1 lab multiple joins with aggregate ( sakila ) Initialize.sql } times mathrm { Main.sql } actor.first _
lab multiple joins with aggregate sakila
Initialize.sql timesmathrm Main.sql
actor.firstname,
ROUNDAVGfilmlengthAS average
FROM actor
INNER JOIN filmactor ON
actor.actoridfilmactor.actorid
INNER JOIN film ON filmactor.filmid
film.filmid
GROUP BY actor.actoridHAVING COUNT
ORDER BY average DESC
actor.lastname ASC;
CONSOLE
ERROR at line : You have an error in your SQL syn
ORDER BY average DESC
actor.lastname ASC' at line
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
