📞 0339-0387701 (WhatsApp) Contact

« Back to Database & Data Handling (NCCIA)

A Patient can have many Appointments and each Appointment belongs to one Patient and one Doctor. What is the Appointment table?

A. A self-referencing table
B. Only a parent table
C. Only a lookup table
D. A junction table between Patient and Doctor, and also a child in two one-to-many relationships ✅

Correct Answer: D. A junction table between Patient and Doctor, and also a child in two one-to-many relationships

Explanation

An appointment links one patient to one doctor, so it holds two foreign keys and resolves the many-to-many link between patients and doctors.