Insert, update and delete anomalies
A problem caused by repeated (redundant) data: adding, changing or deleting a record leaves data inconsistent or lost. The three types are insert, update and delete anomalies.
Understanding Insert, update and delete anomalies in QCE Digital Solutions Unit 2
What it does: If the product details are stored only in the order row, deleting that order deletes the only copy of the product data, which is a delete anomaly. Anomalies happen when the same facts are repeated across rows or mixed together in one table. Splitting the data into related tables removes the repeats. An anomaly is about data becoming inconsistent or lost after a change, not about speed. The phone number appears on many rows, so every row must be updated to stay consistent. Missing one causes an update anomaly. Storing each fact once, in its own table linked by keys, means one change updates it everywhere. This is what normalisation does.
Common mistakes: UPDATE does not use FROM. It should be UPDATE BigOrders. In a big table the price is stored on many rows, so an update must change every one or it causes an update anomaly. INSERT must be followed by INTO, so the line should be INSERT INTO Products. Storing products in their own table avoids the insert anomaly, where a product cannot be added until someone orders it.
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 305–336) and word search (Modules 234–409).
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 →