Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

8) Consider the following relational database conceptual schema used to keep track of patient visits in a medical clinic: Person (SSN, Name, DoB, Gender, PlaceQfRirth)

image text in transcribed

8) Consider the following relational database conceptual schema used to keep track of patient visits in a medical clinic: Person (SSN, Name, DoB, Gender, PlaceQfRirth) Doctor (SSN, Specialty) Patient (SSN, InsurancelD, InsuranceProvider, MedicalRecordlD) MedicalVisit (Date. Doctor, Patient, Diagnosis) In the above, primary keys are underlined. The following referential integrity constraints exist: .From Dector.SSN to Person.SSN .From Patient.SSN to Pers.on.SSN . From MedicalVisit Doctor to Doctor.SSN Answer the following questions based on the above schema. 8a) In the MedicalVisit table the primary key is defined as (Date, Doctor, Patient). If the primary key were to be changed to (Doctor, Patient), how would it affect the design and information in the database? (eg information structure in the database, normal form etc.) (10 Points) 8b) Please Draw an ER diagram based on the above original Relational Model (15 points) 8) Consider the following relational database conceptual schema used to keep track of patient visits in a medical clinic: Person (SSN, Name, DoB, Gender, PlaceQfRirth) Doctor (SSN, Specialty) Patient (SSN, InsurancelD, InsuranceProvider, MedicalRecordlD) MedicalVisit (Date. Doctor, Patient, Diagnosis) In the above, primary keys are underlined. The following referential integrity constraints exist: .From Dector.SSN to Person.SSN .From Patient.SSN to Pers.on.SSN . From MedicalVisit Doctor to Doctor.SSN Answer the following questions based on the above schema. 8a) In the MedicalVisit table the primary key is defined as (Date, Doctor, Patient). If the primary key were to be changed to (Doctor, Patient), how would it affect the design and information in the database? (eg information structure in the database, normal form etc.) (10 Points) 8b) Please Draw an ER diagram based on the above original Relational Model (15 points)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

2. Discuss the steps in preparing a manager to go overseas.

Answered: 1 week ago