DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   Database Design (http://www.daniweb.com/forums/forum142.html)
-   -   Database Design (http://www.daniweb.com/forums/thread97850.html)

chetah Nov 21st, 2007 6:56 pm
Database Design
 
Question Details:
Help Needed

Hospital Associates own three private hospitals at different locations across the country. It has a centralize database for tracking patients admission and billing. The database schema contains the following tables:
PATIENTS(PatientId, Name, Address,DateofBirth,AccBalance)
ADMISSION(AdmissionId, PatientId(FK), RoomId(FK), AdmitDate, DischargeDate)
ADMITDETAILS(AdmissionId, TreatmentId(FK), DoctorId(FK))
ROOM (RoomId, HospitalId(FK), RoomType, CostPerNight)
TREAMENT(TreatmentId, Prescription, Cost)
DOCTORS(DoctorId, DoctorName)
HOSPITAL(HospitalId, HospitalName)
Draw a ER diagram for the database schema given above. Explain how you arrive at the maximum and minimum values for the relation ship between Admission and Rooms in your ERD.

jbennet Nov 22nd, 2007 4:09 pm
Re: Database Design
 
thats easy

An er diagram shows the data and the relations using "crows feet" for one to many etc....

speciality Apr 2nd, 2009 11:25 am
Re: Database Design
 
Can anyone tell me where these questions are coming from.What book and the author


All times are GMT -4. The time now is 3:51 am.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC