Foreign Key

Foreign Key:

It is used mainly to create relationship between tables.
The foreign key (MentorID) in the Course table is to create a relationship with the Mentor table MentorID (primary key).
The foreign key (CourseID) in the Student table is to create a relationship with the Course table CourseID (primary key).


Comments

Popular Posts