The table shown in figure below lists some sample records of 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 DentistName Pat. No Pat. Name App. Date App. Time Surgery No. S1011 Tony Smith P100 Gillian White 12-Sep-04 10.00 S15 S1011 Tony Smith P105 Jill Bell 12-Sep-04 12.00 S15 S1024 Helen Pearson P108 Ian Mackay 12-Sep-04 10.00 S10 S1024 Helen Pearson P108 Ian Mackay 14-Sep-04 14.00 S10 S1032 Robin Plevin P105 Jill Bell 14-Sep-04 16.30 S15 S1032 Robin Plevin P110 John Walker 15-Sep-04 18.30 S13
Pleases see the table shown below and identify super keys (at least 3), composite candidate keys (at least 2) and a primary key.
The table shown in figure below lists some sample records of 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 |
DentistName |
Pat. No |
Pat. Name |
App. Date |
App. Time |
Surgery No. |
S1011 |
Tony Smith |
P100 |
Gillian White |
12-Sep-04 |
10.00 |
S15 |
S1011 |
Tony Smith |
P105 |
Jill Bell |
12-Sep-04 |
12.00 |
S15 |
S1024 |
Helen Pearson |
P108 |
Ian Mackay |
12-Sep-04 |
10.00 |
S10 |
S1024 |
Helen Pearson |
P108 |
Ian Mackay |
14-Sep-04 |
14.00 |
S10 |
S1032 |
Robin Plevin |
P105 |
Jill Bell |
14-Sep-04 |
16.30 |
S15 |
S1032 |
Robin Plevin |
P110 |
John Walker |
15-Sep-04 |
18.30 |
S13 |
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 2 images