Mysql
 sql >> Database >  >> RDS >> Mysql

come interrogare molti-a-molti?

Forse qualcosa del genere:

select m.name
from movies m
inner join actors_movies am on m.id = am.movie_id
inner join actors a on am.actor_id = a.id
where a.name = 'Christopher Walken'