You start a project with one table, because it is quick. Every order row holds the customer's name, phone and city, plus the list of products in one text column. A month later, a customer changes her phone number and you update it in three of her seven orders. Now the database disagrees with itself.
Normalization is the set of rules that prevents this. It sounds academic, but the core idea is simple: store each fact in exactly one place. This article takes one messy table through the first three normal forms, which is as far as most applications need to go.
The problems normalization solves
Duplicated data causes three kinds of trouble, called anomalies:
Update anomaly. A fact stored in many rows must be changed in all of them. Miss one and the data is inconsistent.
Insert anomaly. You cannot record one fact without another. If customers only exist inside order rows, you cannot add a customer who has not ordered yet.
Delete anomaly. Deleting one fact destroys another.…