Skip to content
Medium/Scenario reasoning

Enrollment Candidate Key

Which set is a candidate key?

Context

Enrollment has columns student_id, course_id, student_email, and grade. A student has one email, may take many courses, and a course may have many students. No two enrollments share both student_id and course_id.

Commit to an answer

Choose one.

DB//COSMOS

A field manual for database systems: model the domain, normalize the facts, query the relations, and protect the result.

Edition 2026 · 32 chaptersTopic catalogInterview prep