Keys in an enrolment linking table

A college stores its records in three tables:

  • STUDENT(StudentID, Name, Program)
  • COURSE(CourseCode, Title, Credits)
  • ENROLMENT(StudentID, CourseCode, Term, Grade)

StudentID is the primary key of STUDENT, and CourseCode is the primary key of COURSE. Each ENROLMENT row must refer to an existing student and an existing course and must specify a term.


A student can take many courses, each course has many students, and a student who fails a course may retake it in a later term. A student takes a given course at most once in a given term.


Students and courses are connected through enrolment records, with each student and each course having many enrolments.


Which statement correctly identifies the foreign keys and a suitable composite primary key for ENROLMENT?

Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

More Relational Database Operations Questions: