Question: My Sql The following is a correlated subquery, using the Sakila schema. SELECT first_name, last_name FROM actor a WHERE EXISTS (SELECT * FROM film_actor WHERE

My Sql

The following is a correlated subquery, using the Sakila schema.

SELECT first_name, last_name FROM actor a

WHERE EXISTS

(SELECT * FROM film_actor WHERE actor_id = a.actor_id AND film_id = 10);

(a) [2 points] Write an equivalent noncorrelated subquery.

(b) [2 points] Write an equivalent query using JOIN and without subqueries.

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 Databases Questions!