programming-examples/sql/SQLMovieDatabase/36. Write a query in SQL to find the titles of all movies directed by James Cameron.sql
2019-11-18 14:05:53 +01:00

11 lines
304 B
SQL

/*36. Write a query in SQL to find the titles of all movies directed by James Cameron. */
SELECT mov_title
FROM movie
WHERE mov_id IN (
SELECT mov_id
FROM movie_direction
WHERE dir_id IN (
SELECT dir_id
FROM director
WHERE dir_fname = 'James' AND dir_lname='Cameron'
));