📞 0339-0387701 (WhatsApp) Contact

« Back to Database & Data Handling (NCCIA)

A patient may visit many doctors over time, and a doctor treats many patients. Which design best represents this?

A. A one-to-one relationship
B. A foreign key in Patient only
C. A foreign key in Doctor only
D. A many-to-many relationship resolved with a Visit junction table ✅

Correct Answer: D. A many-to-many relationship resolved with a Visit junction table

Explanation

M:N between Patient and Doctor is resolved by a Visit table holding both foreign keys, possibly with date as an attribute.