📞 0339-0387701 (WhatsApp) Contact

« Back to Database & Data Handling (NCCIA)

In a Student-Course enrolment, which columns are foreign keys in the Enrolment table?

A. StudentName and CourseName
B. Grade only
C. EnrolmentID only
D. StudentID referencing Student and CourseID referencing Course ✅

Correct Answer: D. StudentID referencing Student and CourseID referencing Course

Explanation

The junction table holds two foreign keys, one to each entity table in the many-to-many relationship.