10 lines
419 B
MySQL
10 lines
419 B
MySQL
|
/*24. Write a query in SQL to find those lowest duration movies along with the year, director's name, actor's name and his/her
|
||
|
role in that production.*/
|
||
|
SELECT mov_title, mov_year, dir_fname, dir_lname,
|
||
|
act_fname, act_lname, role
|
||
|
FROM movie
|
||
|
NATURAL JOIN movie_direction
|
||
|
NATURAL JOIN movie_cast
|
||
|
NATURAL JOIN director
|
||
|
NATURAL JOIN actor
|
||
|
WHERE mov_time=(SELECT MIN(mov_time) FROM movie);
|