dbms
dbms
Insertion Anomalies:
Insertion anomalies occur when adding new data to a table results in incomplete or
inconsistent data.
Example:
Suppose you have a "Sales" table with the following attributes:
If you want to insert a new product ("C") and there are no sales for it yet,
you'd have to leave the "Salesperson" column empty, leading to an insertion
anomaly.
Deletion Anomalies:
Deletion anomalies occur when deleting a record from a table causes the loss of
other related data.
Example:
Continuing with the "Sales" table, let's say you delete the row for product "B"
(Sales_ID 2).
You lose information about Bob's sales entirely.
Updation Anomalies: