Posted by Bhumin, March 21, 2022, 10:35 a.m.
#52
Hello everyone!
I might be missing out something major in this question. Wondering about this solution given the problem is to find film_id with actors that has never appeared on tv.
Problem statement:
- Write a query to return the
film_idwith movie only casts (actors who never appeared in tv). - The order of your results doesn't matter.
- You should exclude movies with one or more tv actors
My solution:
select distinct(film_id)
from film_actor
where actor_id not in (select actor_id from actor_tv)