Anomalies in Database
Anomalies in Database
LECTURER
MR. JAHANZAIB ALI KHAN
Contents
What is Anomaly?
Types of Anomalies
Disadvantages of Anomalies
Anomalies in Database
Anomalies refer to unexpected or undesired behaviors that can
occur due to improper design or manipulation of data.
Types of Anomalies
Insertion Anomaly
Insertion anomalies occur when it is not possible to add data to a database
without providing additional, unrelated information.
Deletion Anomaly
Deletion anomalies occur when removing data from a database leads to l loss
of other related data that should have been preserved.
Update Anomaly
Updation anomalies occur when modifying data in a database leads to
inconsistencies or conflicts within the data.
It means that updating certain attributes can cause duplication, contradictory
values, or incorrect information within the database.
Insertion Anomaly
StudentNum CourseNum Student Name Address Course
S21 9201 Jones Edinburgh Accounts
S21 9267 Jones Edinburgh Accounts
S24 9267 Smith Glasgow physics
S30 9201 Richards Manchester Computing
S30 9322 Richards Manchester Maths