Question: USE sakila; SELECT last _ name, first _ name, ROUND ( AVG ( length ) , 0 ) AS average FROM actor INNER JOIN film
USE sakila;
SELECT last
name, first
name, ROUND
AVG
length
AS average
FROM actor
INNER JOIN film
actor ON film
actor.actor
id
actoractor
id
INNER JOIN film ON film
actor.film
id
filmfilm
id
WHERE title
ALONE TRIP"
GROUP BY last
name, first
name
ORDER BY average; Now, replace in the WHERE clause with and generate a new execution plan. Step of the execution plan says Index Range Scan. The index scan accesses all films with titles preceding "ALONE TRIP", rather than a single film.
Finally, replace in the WHERE clause with and generate a third execution plan. Step of the execution plan says Full Table Scan and accesses actor rather than film.
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
