Database Normalization
6 min read.
Learn how to split flat, denormalized tables into 1NF, 2NF, and 3NF to eliminate data redundancy.
Think of it this way: Normalization is like organizing a messy closet. Instead of having shoes, shirts, and pants piled in every drawer (Flat Table), you designate specific drawers for specific items (Separate Tables). If a shirt changes size, you only update it in one place.
| OrderID | Customer | City | Items |
|---|---|---|---|
| 1 | Alice | Toronto | Laptop 1000 Tech Mouse 50 Tech |
| 2 | Bob | Ottawa | Desk 300 Furniture |
| 3 | Alice | Toronto | Mouse 50 Tech |
Unnormalized. The Items column holds a list. You cannot query or update one item on its own.
Check your understanding
Answer from memory before you scroll back up. Pulling an idea out of your head is what makes it stay there.
Which normal form does it break?
Sort each design flaw by the normal form it violates.
Tap a piece, then tap where it goes — or drag it. Tap the tray to take one back.
Breaks 1NF
Drop items hereBreaks 2NF
Drop items hereBreaks 3NF
Drop items hereQuiz
20 questionsWhich Normal Form ensures that there are no "transitive dependencies" (e.g., A depends on Primary Key B, but C depends on A)?
Done with this lesson?
Sign in free to keep your progress, streak and quiz scores.