Scenario: A hospital manages doctors, patients, and appointments. Each patient can have multiple appointments, each doctor can have multiple appointments, and each appointment is associated with one patient and one doctor. How would you represent this scenario in an ERD?

  • Many-to-Many
  • Many-to-One
  • One-to-Many
  • One-to-One
For this scenario, a One-to-One relationship is appropriate. Each appointment is associated with one patient and one doctor. It ensures that each appointment is uniquely linked to a specific patient and doctor, avoiding data redundancy.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *