programming-examples/sql/SQLMovieDatabase/45. Write a query in SQL to find the cast list for the movie Chinatown.sql

10 lines
261 B
MySQL
Raw Normal View History

2019-11-18 14:05:53 +01:00
/*45. Write a query in SQL to find the cast list for the movie Chinatown. */
SELECT a.act_fname, a.act_lname
FROM
movie_cast c
JOIN actor a ON
c.act_id = a.act_id
Where mov_id = (
SELECT mov_id
FROM movie
Where mov_title = 'Chinatown');