Problem:
Given film_actor and film tables from the DVD Rental sample database find all movies both Sidney Crowe (actor_id = 105) and Salma Nolte (actor_id = 122) cast in together and order the result set alphabetically.
My solution:
SELECT DISTINCT f.title
FROM film f
INNER JOIN film_actor a ON
f.film_id = a.film_id
INNER JOIN actor c ON
a.actor_id = c.actor_id
WHERE c.last_name IN ('Crowe', 'Nolte')
GROUP BY f.title;
I'm trying to figure why the solution above is not working.