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.

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

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 database system. Talking with the people at the HC provider, you get the following information (be very careful on some of these attributes, and apply everything you have learned to this point:

 

- 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.

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 1 images

Blurred answer
Knowledge Booster
Enhanced ER Model
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education