The table shown below lists dentist-patient appointment data. A patient is given
ID: 674544 • Letter: T
Question
The table shown below lists dentist-patient appointment data. A patient is given an appointment at a specific time and date with a dentist located at a particular surgery. On each day of patient appointments, a dentist is allocated to a specific surgery for that day.
StaffNo
Dentist Name
PatNo
PatName
Appointment Date & Time
SurgeryNo
S1011
S1011
S1024
S1024
S1032
S1032
James Bond
James Bond
Andrew Joe
Andrew Joe
Kevin King
Kevin King
P100
P105
P108
P108
P107
P110
Kim Su
Jenny Gold
Ian Chappell
Ian Chappell
John Spooner
Frank Holey
1/9/05 10.00
1/9/05 12.00
1/9/05 10.00
2/7/05 14.00
2/7/05 16.30
2/7/05 18.00
S10
S15
S10
S10
S15
S13
Evaluate if the table shown above is normalized, if not describe and illustrate the process of normalizing the table shown above to third normal form. State any assumptions you make about the data shown in this table.
StaffNo
Dentist Name
PatNo
PatName
Appointment Date & Time
SurgeryNo
S1011
S1011
S1024
S1024
S1032
S1032
James Bond
James Bond
Andrew Joe
Andrew Joe
Kevin King
Kevin King
P100
P105
P108
P108
P107
P110
Kim Su
Jenny Gold
Ian Chappell
Ian Chappell
John Spooner
Frank Holey
1/9/05 10.00
1/9/05 12.00
1/9/05 10.00
2/7/05 14.00
2/7/05 16.30
2/7/05 18.00
S10
S15
S10
S10
S15
S13
Explanation / Answer
Table is not normalized as the data of patient and the doctor is redundantly copied in to the table for more records.
For converting this table in to normalized form.
Create a table Patient which will be storing PatNo and PatName.
Create a table Dentist which will be storing StaffNo and Dentist Name.
Create a table Appointment which will be storing Appointment Date& Time , Surgery No,PatNo,StaffNo.
PatNo will be in Foreign key relationship with the Patient table
StaffNo will be in Foreign key relationship with the Dentist table
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.