📞 0339-0387701 (WhatsApp) Contact

« Back to Database & Data Handling (NCCIA)

Why is (StudentID, CourseID) a candidate key for Enrollment but (StudentID, CourseID, Grade) is not?

A. CourseID is not unique
B. StudentID is not unique
C. Grade is not a column in the table
D. Grade is redundant for identification, so the larger set is not minimal ✅

Correct Answer: D. Grade is redundant for identification, so the larger set is not minimal

Explanation

Adding Grade keeps uniqueness but breaks minimality, so only the smaller set is a candidate key.