7 lines
282 B
MySQL
7 lines
282 B
MySQL
|
/*20. Write a query in SQL to list all the movies with year, genres, and name of the director.*/
|
||
|
SELECT mov_title, mov_year, gen_title, dir_fname, dir_lname
|
||
|
FROM movie
|
||
|
NATURAL JOIN movie_genres
|
||
|
NATURAL JOIN genres
|
||
|
NATURAL JOIN movie_direction
|
||
|
NATURAL JOIN director;
|