I have the following structure: Timetable has COMPOSITE PRIMARY KEY that consists of 2 FOREIGN KEYS - [LECTURER'S ID] and [SUBJECT CODE][
]1
When I'm trying to run the INSERT query INTO Timetable it gives me this error
But at the same time I can enter the values manually in [SUBJECT DETAILS] table without any problems!
How can I INSERT values INTO Timetable using query? Should I create Timetable in different way or something else?
Thank you




LECTURES_IDorSUBJECT_CODEinTIMETABLEthat are not present inLECTURE'S_DETAISORSUBJECT_DETAILSrespectively. - Harshil DoshiDURATION? - Harshil Doshi