Answered step by step
Verified Expert Solution
Question
1 Approved Answer
The following table identifies the information that doctors in a hospital made treatments for patients. You may assume that the combination of PatientID, DoctorlD and
The following table identifies the information that doctors in a hospital made treatments for patients. You may assume that the combination of PatientID, DoctorlD and TreatDate uniquely identify each row/tuple in this relation Treatment PatientID PatientName DoctorlID DoctorNameTreatDesc P101 P101 P102 P102 P103 P104 TreatDate Phil LondonD001 Phil LondonD002 Shirley Wu Shirley Wu Victor Smith D004 Sam S Peter Peterson Take panadol 12-1-2017 Tennis Bonn Brain Peter Peterson Take antibiotics 15-1-2017 Amanda Lee ohn Lee Tennis BoonBlood-transfusion 19-2-2017 15-1-2017 D001 D003 Heart surgery 18-1-2017 19-2-201'7 o-t D002 (a) On the above table, if we want to delete a record related to the treatment of the (1 mark) (1 mark) patient-Victor Smith, what kind of anomaly will happen? Justify your answer (b) What is the highest normal form that this relation satisfies and why (c) Normalise the relation into a set of relations that satisfy 3NF using the format as follows (2 marks) Foreign key (ID1) references Relation1
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started