Should this work in MySQL?? All the ID-tables are primary keys in the table they belong to, but i have not made any Foreign keys in the Title table. Do i need that?
insert into title(GenreID,MediaID,ActorID,Movietitle)
values
(
(select genreID from Genre where Genre.GenreName = 'Action'),
(select MediaID from Media where Media.MediaType = 'DVD'),
(select ActorID from Actor where Actor.Name = 'Robert DeNiro'),
'Heat'
);