(a) Referring to the table structure shown below, give examples of a deletion anomaly, an insertion anomaly and an update anomaly. (b) The table below shows sample data taken from a veterinary shop. Using the table structure shown below, draw its dependency diagram and identify all dependencies (including all partial, transitive and fully functional dependencies). State any assumption you make about the data. PET TYPE PET OWNER OWNER |CODE TYPE CODE NAME DOG 100 PROC. PROCEDURE CODE NAME RABIES VACCINATION EXAMINE TREAT WOUND WORM VACCINATION TETANUS VACCINATION WORM VACCINATION RABIES VACCINATION RABIES VACCINATION ANNUAL UP VISIT VISIT ID PET PET ID NAME QTY USED COST DATE JAN 100 13/2018 Raj Thakoor 10 100 ROVER 10 2ml Rs200.00 MAR 105 27/2018 and 100 ROVER 10 DOG 100 Raj Thakoor 11 Rs300.00 MAR 105 27/2018 100 ROVER 10 DOG 100 Raj Thakoor 20 1ml Rs150.00 JAN 102 21/2018 Terry Kim 25 298 SPOT 10 DOG 112 3ml Rs300.00 MAR 104 10/2018 298 SPOT 10 DOG 112 Terry Kim 20 2ml Rs300.00 JAN 103 23/2018 341 MORRIS 20 CAT 100 Raj Thakoor 10 2ml Rs200.00 JAN 101 13/2018 341 MORRIS 20 CAT 100 Raj Thakoor 10 Rs200.00 2ml CHЕCK APR 106 519 TWEEDY 30 BIRD 125 Terry Kim 5 30/2018 Rs350.00 APR 106 30/2018 TWEEDY 30 519 BIRD 125 Terry Kim 12 EYE WASH Rs250.00 Note: PROC. CODE stands for PROCEDURE CODE. (c) Derive the third normal form of the data, showing all the intermediate steps (i.e., 1NF, 2NF and 3NE tables)

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question
(a)
Referring to the table structure shown below, give examples of a deletion anomaly, an insertion
anomaly and an update anomaly.
(b)
The table below shows sample data taken from a veterinary shop. Using the
table structure shown below, draw its dependency diagram and identify all
dependencies (including all partial, transitive and fully functional
dependencies). State any assumption you make about the data.
PET
TYPE PET OWNER OWNER
|CODE TYPE CODE NAME
DOG 100
PROC. PROCEDURE
CODE NAME
RABIES
VACCINATION
EXAMINE
TREAT WOUND
WORM
VACCINATION
TETANUS
VACCINATION
WORM
VACCINATION
RABIES
VACCINATION
RABIES
VACCINATION
ANNUAL
UP
VISIT VISIT
ID
PET
PET ID NAME
QTY
USED COST
DATE
JAN
100
13/2018
Raj Thakoor 10
100
ROVER 10
2ml
Rs200.00
MAR
105
27/2018
and
100
ROVER 10
DOG 100
Raj Thakoor 11
Rs300.00
MAR
105
27/2018
100
ROVER 10
DOG 100
Raj Thakoor 20
1ml
Rs150.00
JAN
102
21/2018
Terry Kim 25
298
SPOT
10
DOG 112
3ml
Rs300.00
MAR
104
10/2018
298
SPOT
10
DOG 112
Terry Kim
20
2ml
Rs300.00
JAN
103
23/2018
341
MORRIS 20
CAT 100
Raj Thakoor 10
2ml
Rs200.00
JAN
101
13/2018
341
MORRIS 20
CAT 100
Raj Thakoor 10
Rs200.00
2ml
CHЕCK
APR
106
519
TWEEDY 30
BIRD 125
Terry Kim 5
30/2018
Rs350.00
APR
106
30/2018
TWEEDY 30
519
BIRD 125
Terry Kim
12
EYE WASH
Rs250.00
Note: PROC. CODE stands for PROCEDURE CODE.
(c)
Derive the third normal form of the data, showing all the intermediate steps (i.e., 1NF, 2NF and
3NE tables)
Transcribed Image Text:(a) Referring to the table structure shown below, give examples of a deletion anomaly, an insertion anomaly and an update anomaly. (b) The table below shows sample data taken from a veterinary shop. Using the table structure shown below, draw its dependency diagram and identify all dependencies (including all partial, transitive and fully functional dependencies). State any assumption you make about the data. PET TYPE PET OWNER OWNER |CODE TYPE CODE NAME DOG 100 PROC. PROCEDURE CODE NAME RABIES VACCINATION EXAMINE TREAT WOUND WORM VACCINATION TETANUS VACCINATION WORM VACCINATION RABIES VACCINATION RABIES VACCINATION ANNUAL UP VISIT VISIT ID PET PET ID NAME QTY USED COST DATE JAN 100 13/2018 Raj Thakoor 10 100 ROVER 10 2ml Rs200.00 MAR 105 27/2018 and 100 ROVER 10 DOG 100 Raj Thakoor 11 Rs300.00 MAR 105 27/2018 100 ROVER 10 DOG 100 Raj Thakoor 20 1ml Rs150.00 JAN 102 21/2018 Terry Kim 25 298 SPOT 10 DOG 112 3ml Rs300.00 MAR 104 10/2018 298 SPOT 10 DOG 112 Terry Kim 20 2ml Rs300.00 JAN 103 23/2018 341 MORRIS 20 CAT 100 Raj Thakoor 10 2ml Rs200.00 JAN 101 13/2018 341 MORRIS 20 CAT 100 Raj Thakoor 10 Rs200.00 2ml CHЕCK APR 106 519 TWEEDY 30 BIRD 125 Terry Kim 5 30/2018 Rs350.00 APR 106 30/2018 TWEEDY 30 519 BIRD 125 Terry Kim 12 EYE WASH Rs250.00 Note: PROC. CODE stands for PROCEDURE CODE. (c) Derive the third normal form of the data, showing all the intermediate steps (i.e., 1NF, 2NF and 3NE tables)
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 4 steps with 7 images

Blurred answer
Knowledge Booster
Database Development
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education