Mysql
 sql >> Datenbank >  >> RDS >> Mysql

SQL - Finden Sie den Filmtitel und den Sprachnamen aller Filme, in denen ADAM GRANT mitgespielt hat

Sie sollten den inneren Join

verwenden
SELECT 
   film.title
  , language.name
FROM film
INNER JOIN language on film.language_id = language.language_id
INNER JOIN film_actor on film.film_id = film_actor.film_id
INNER JOIN actor on actor.actor_id = film_actor.actor_id
WHERE actor.first_name = 'ADAM'
AND actor.last_name ='GRANT'