Update, insertion and deletion anomalies
A fault caused by redundant data: an update anomaly leaves copies that disagree, an insertion anomaly blocks adding data, and a deletion anomaly loses other data when a record is removed.
Understanding Update, insertion and deletion anomalies in QCE Digital Solutions Unit 3
What it does: The row cannot be stored properly without an order or student value, so the new product cannot be added by itself. This is an insertion anomaly. The address is stored in many rows. Changing just one leaves copies that disagree, which is an update anomaly. Anomalies come from the same data being repeated. Splitting tables and using keys helps prevent them. Storing each fact once, in its own table linked by a foreign key, removes the redundancy that causes anomalies. When two kinds of data share one table, deleting a row can remove facts about the other kind. This is a deletion anomaly.
Common mistakes: SQL uses a single = to compare values, not ==. The WHERE must match every Pencil row, because a price copied on many rows can cause an update anomaly if only some are changed. It should be WHERE product = 'Pencil';. The keyword is VALUES, not VALUE. The NULL studentId shows an insertion anomaly: a new product can only be stored in this table by faking an order. It should be VALUES ('Ruler', 2, NULL);.
Free printable worksheet with full answer key — or add this module to a class and your students practise it interactively.
This module's key terms are also in a printable crossword (Modules 15–119) and word search (Modules 15–176).
Take this worksheet further — free with Cloodit
Each concept is reinforced from every angle — learned, then applied, then tested.
Cloodit turns curriculum-aligned coding content into journeys students work through one biome at a time.
Over 100 of them, across seven natural biomes.
Turns their work into revision material ready for Flash Cards and Exam study.
Live, competitive practice for the start of the lesson or a teacher-led lesson finisher.
Honour your top performers, or encourage a student who's trying hard — ready to print in seconds.
Quick Questions
Match the Pairs
Key Term
anomalyFill in the Blanks
Spot the Error
Student with a class code? Join your class →