Normalization (1NF, 2NF, 3NF) & Denormalization
Eliminate update anomalies with First, Second, and Third Normal Form, and know when controlled denormalization makes sense.
What you'll learn
- Eliminate repeating comma-separated columns (1NF)
- Remove partial and transitive dependencies (2NF/3NF)
- Recognize valid cases for read-optimized denormalization
Overview
Eliminate update anomalies with First, Second, and Third Normal Form, and know when controlled denormalization makes sense.
Strong database design pays dividends for years: clean constraints catch bugs before application code does, and well-chosen indexes keep response times predictable as tables grow from thousands to millions of rows.
Try It Live (Interactive SQL Sandbox)
Click Run SQL to execute this query against a live in-browser SQLite database.
Key Takeaways
- Eliminate repeating comma-separated columns (1NF)
- Remove partial and transitive dependencies (2NF/3NF)
- Recognize valid cases for read-optimized denormalization
Quick Check
Check Your Understanding
1. Why is storing `price_at_purchase` on `order_items` (even though `products` has `unit_price`) good design?
Finished this lesson?
Your progress is saved locally in your browser, no account needed.