Draw the Entity-Relationship diagram for the above application. Again, if you need more space use the bottom of this Word Doc. or create another Word Doc. and put it in there. Just remember to upload all the Word. Doc’s to D2L. You can NEATLY hand draw the ERD and upload a picture of it. 4.2) Show the relational schema that corresponds to the above ER diagram. Make sure to clearly indicate primary keys and foreign keys. These would be the DDL needed to create the tables to support your ERD from 4.1. You do not have to run the DDL commands in MySQL, just write them down here.
NOTE: please explain better .
Question 4
You have just been hired as a consultant for a big Health Care provider. Impressed by your background in databases, they want you to completely redesign their
- The database contains information about patients, hospitals and doctors.
- Each patient has an ID, first name, last name, address and age. A patient is
uniquely identified by his or her ID.
- Each hospital has an id, name and budget. The id uniquely identifies a hospital.
- Each doctor an id, a full name, email address and a favorite movie. The id
uniquely identifies a doctor.
- Each patient can be treated at many hospitals, a hospital can treat many patients.
- Each doctor can work at only one hospital. A hospital can have many doctors.
4.1) Draw the Entity-Relationship diagram for the above application. Again, if you need more space use the bottom of this Word Doc. or create another Word Doc. and put it in there. Just remember to upload all the Word. Doc’s to D2L. You can NEATLY hand draw the ERD and upload a picture of it.
4.2) Show the relational schema that corresponds to the above ER diagram. Make sure to clearly indicate primary keys and foreign keys. These would be the DDL needed to create the tables to support your ERD from 4.1. You do not have to run the DDL commands in MySQL, just write them down here.
Trending now
This is a popular solution!
Step by step
Solved in 3 steps with 1 images