📞 0339-0387701 (WhatsApp) Contact

« Back to Database & Data Handling (NCCIA)

In a Doctor-Patient relationship, a rule that a patient must have exactly one primary doctor is enforced by what?

A. A single, NOT NULL DoctorID foreign key in Patient ✅
B. A nullable DoctorID
C. A junction table with many rows per patient
D. A unique constraint on PatientID alone

Correct Answer: A. A single, NOT NULL DoctorID foreign key in Patient

Explanation

One NOT NULL foreign key allows exactly one doctor per patient and makes the link mandatory.