Ich hoffe das veranschaulicht das ganze etwas
Code:
Create Table Person_Rolle
(
Person_ID Number Not Null,
Rolle_ID Number Not Null,
FilmAllgemein_ID Number Not Null
Constraint FK_Person Foreign Key (Person_ID) References Person (Person_ID),
Constraint FK_Rolle Foreign Key (Rolle_ID) References Rolle (Rolle_ID),
Constraint FK_FilmAllgemein Foreign Key (FilmAllgemein_ID) References FilmAllgemein (FilmAllgemein_ID)
);
Alter Table Add Constraint PK_Person_Rolle Primary Key (Person_ID, Rolle_ID, FilmAllgemein_ID);