The table shown below lists sample 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. a. The table is susceptible to update anomalies. Provide examples of insertion, deletion and update anomalies. b. State why the above table is in 1NF. c. Identify all candidate key(s) and your choice of primary key. d. Identify the functional dependencies in the 1NF table above based on the chosen primary key, including any partial and transitive dependencies. (If necessary, clearly state your assumptions). In answering this, you may use the format: fd#: attribute(s) on the left-hand side) (attribute(s) on the right-hand side (state whether full, partial or transitive dependency) example: fd1: (A1, A2) A3, A4, A5, A6 (full dependency) e. After removing partial dependencies, show all tables, with data, that are in 2NF. For each table, give the name and the primary key attribute, foreign key(s) if any, and which primary key of which table the foreign key(s) reference. f. After removing transitive dependencies, show all tables, with data, that are in 3NF. For each table, give the name, the primary key attribute, foreign key(s) if any, and which primary key of which table the foreign key(s) reference.
The table shown below lists sample 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.
a. The table is susceptible to update anomalies. Provide examples of insertion, deletion and update anomalies.
b. State why the above table is in 1NF.
c. Identify all candidate key(s) and your choice of primary key.
d. Identify the functional dependencies in the 1NF table above based on the chosen primary key, including any
partial and transitive dependencies. (If necessary, clearly state your assumptions). In answering this, you may use
the format:
fd#: attribute(s) on the left-hand side) (attribute(s) on the right-hand side (state whether full, partial or
transitive dependency)
example: fd1: (A1, A2) A3, A4, A5, A6 (full dependency)
e. After removing partial dependencies, show all tables, with data, that are in 2NF.
For each table, give the name and the primary key attribute, foreign key(s) if any, and which primary key of
which table the foreign key(s) reference.
f. After removing transitive dependencies, show all tables, with data, that are in 3NF.
For each table, give the name, the primary key attribute, foreign key(s) if any, and which primary key of which
table the foreign key(s) reference.
![staffNo dentistName patNo patName
appointment
date
surgeryNo
time
Tony Smith
Tony Smith
Helen Pearson P108
S1011
P100
Gillian White 12-Sep-08 10.00 S15
12-Sep-08 12.00 S15
lan MacKay 12-Sep-08 10.00 s10
lan MacKay 14-Sep-08 14.00 S10
14-Sep-08 16.30 S15
John Walker 15-Sep-08 18.00 S13
d si011
S1011
P105
Jill Bell
S1024
$1024
Helen Pearson P108
S1032
Robin Plevin
P105
Jill Bell
S1032
Robin Plevin
P110](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F88eed858-a80a-4e1a-9d29-8db833b9f0f8%2Fef1f48cd-5e91-4bc1-89e1-1092d7d9631e%2Fonapto_processed.png&w=3840&q=75)
![](/static/compass_v2/shared-icons/check-mark.png)
To solve this problem, we will be using the rules of all normal forms and remove all those dependencies which violates the rules of normal form.
Below is the solution:
Trending now
This is a popular solution!
Step by step
Solved in 6 steps with 5 images
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
![Computer Networking: A Top-Down Approach (7th Edi…](https://www.bartleby.com/isbn_cover_images/9780133594140/9780133594140_smallCoverImage.gif)
![Computer Organization and Design MIPS Edition, Fi…](https://www.bartleby.com/isbn_cover_images/9780124077263/9780124077263_smallCoverImage.gif)
![Network+ Guide to Networks (MindTap Course List)](https://www.bartleby.com/isbn_cover_images/9781337569330/9781337569330_smallCoverImage.gif)
![Computer Networking: A Top-Down Approach (7th Edi…](https://www.bartleby.com/isbn_cover_images/9780133594140/9780133594140_smallCoverImage.gif)
![Computer Organization and Design MIPS Edition, Fi…](https://www.bartleby.com/isbn_cover_images/9780124077263/9780124077263_smallCoverImage.gif)
![Network+ Guide to Networks (MindTap Course List)](https://www.bartleby.com/isbn_cover_images/9781337569330/9781337569330_smallCoverImage.gif)
![Concepts of Database Management](https://www.bartleby.com/isbn_cover_images/9781337093422/9781337093422_smallCoverImage.gif)
![Prelude to Programming](https://www.bartleby.com/isbn_cover_images/9780133750423/9780133750423_smallCoverImage.jpg)
![Sc Business Data Communications and Networking, T…](https://www.bartleby.com/isbn_cover_images/9781119368830/9781119368830_smallCoverImage.gif)