Database Anomalies
Insertion Anomaly
The insert anomaly refers to a situation in which you cannot insert a new tuple into relation
because of an artificial dependency of another relation
The error that has caused the anomaly is that attributes of two different entities are mixed into
the same relation
Deletion Anomaly
Deletion Anomaly occurs when a record is deleted from the relation.
It refers to a situation where in a deletion of data about one particular entity causes unintended
loss of data that characterizes another entity.
Modification Anomaly
The update anomaly refers to a situation in which an update of a single data value requires
multiple tuples data to be updated
Modification in the value of specific attribute requires the modification in all records in which
that value occurs
Try to identify the possible Database Anomalies in the following table.
Insert, Delete, Update/Modify Anomalies
Course_Id(P.K.) Std_Id(P.K.) Std_Name F_id Room Grade
CS435 1020 Ali F234 104 B
CS437 1020 Ali F456 106
CS435 1038 Irfan F234 104 B, C
CS437 1015 Ahmed F456 106 A
CS444 1017 Aftab F456 106 A