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.

Fundamentals of Information Systems
9th Edition
ISBN:9781337097536
Author:Ralph Stair, George Reynolds
Publisher:Ralph Stair, George Reynolds
Chapter3: Database Systems And Big Data
Section: Chapter Questions
Problem 4PSE
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
Fundamentals of Information Systems
Fundamentals of Information Systems
Computer Science
ISBN:
9781337097536
Author:
Ralph Stair, George Reynolds
Publisher:
Cengage Learning
A Guide to SQL
A Guide to SQL
Computer Science
ISBN:
9781111527273
Author:
Philip J. Pratt
Publisher:
Course Technology Ptr
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781305627482
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781285196145
Author:
Steven, Steven Morris, Carlos Coronel, Carlos, Coronel, Carlos; Morris, Carlos Coronel and Steven Morris, Carlos Coronel; Steven Morris, Steven Morris; Carlos Coronel
Publisher:
Cengage Learning
Principles of Information Systems (MindTap Course…
Principles of Information Systems (MindTap Course…
Computer Science
ISBN:
9781305971776
Author:
Ralph Stair, George Reynolds
Publisher:
Cengage Learning