More Related Content
More from welcometofacebook
More from welcometofacebook (20)
Solution4 1(database)
- 1. 1. Relational schemas for Mountain View Community Hospital.
a. Schema for E-R diagram (Project Exercise 2, Chapter 2):
Item_No Description Unit_Cost
ITEM
Patient_No Item_No Date Time
CONSUMES
Treatment_No Treatment_Name
TREATMENT
Physician_ID Physician_Name
PHYSICIAN
Patient_No Physician_ID Treatment_No Results
PERFORMS
Patient_No Patient_Name Physician_ID
PATIENT
Bed_No Center_ID Room_No Patient_No
BED
Center_ID Emp_No Hours_per_week
ASSIGNED
Center_ID Center_Name Emp_No
CENTER
Emp_No Emp_Name
EMPLOYEE
Quantity
Treatment_Date Treatment_Time
- 2. b. Schema for EER diagram (Project Exercise 1, Chapter 3):
Person_ID Name Address Birth_Date City_State_Zip Phone
PERSON
PA_Person_ID Contact_Date PH_Person_ID
PATIENT
PH_Person_ID Pager_No Specialty
PHYSICIAN
V_Person_ID Skill
VOLUNTEER
E_Person_ID Date_Hired
EMPLOYEE
N_Person_ID Certificate Name
NURSE
S_Person_ID Job_Class
STAFF
T_Person_ID Skill
TECHNICIAN
Name Location Name Location
LABORATORY CARE_CENTER
T_Person_ID Name
LAB_ASSIGN
N_Person_ID