Exercise 9 Legical Database Design 107 Student StudentID StudentName Address Dep
ID: 3722229 • Letter: E
Question
Exercise 9
Legical Database Design 107 Student StudentID StudentName Address Dependent DependentID DateOfBirth Studenti rm the E-R model of the movie theater database from Exercise 8 in to the relational model of the movie theater database. the following E-R model to a relational model. Custoneir Rooms Type Size View Floor Price 10. The PatientVisit relation keeps information about the patients' visits to doctors. a. Identify the functional dependencies in the relation. b. Is this relation in 2NE, 3NE, and BCNE, and why? If not, show your steps of performing the normalization to transform the relation into 2NE, 3NF, and BCNF. Show all referential integrity constraints in the relational model that result from the normalization. c. ldentify the functional dependency in each relation in the final relational model produced in b. PatientVisit VisitDate DoctoriD DoctorName PatientlD Name Address P1209 .ohns 134 West 3/3/02 256 A. Frank P1209 . Johns 134 West 9/10/02 D1256 A. Frank P1215 . Johns 200 West 3/3/02 D4523 D. Gomez P1221F F. Brown 223 South 67/02D6712 G. Kelly P8912 F. Dong 45 East /2/02 DS917 M.JuliusExplanation / Answer
Exercise 9 : Relational Model
Customer(Phone,Name,Address)
Reservation(ReservationNo,Check-In-Time,Check-Out-Time,PaymentMethod,FinalBillAmount, CustomerPhone, RoomNo)
ReservationCharges(ReservationNo,ChargeID,Amount)
Room(RoomNo,Type,Size,View,Smoking,Floor,Price)
underlined are primary keys and italicised are foreign keys.
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.