Normalize relational schemas from 1NF to BCNF
8 steps · about 2 h 25 min · Beginner
- See why normalization prevents update anomalies (reference, Wikipedia, 20 min)
Frames insertion, update and deletion anomalies as consequences of storing facts in the wrong table.
- Spot insertion, update and deletion anomalies (article, GeeksforGeeks, 15 min)
Uses concrete unnormalized rows to show how duplicate facts drift out of sync.
- Determine candidate keys with functional dependencies (article, GeeksforGeeks, 25 min)
Teaches attribute closure so you can prove which columns uniquely determine the rest of a row.
- Enforce atomic columns and row identity in 1NF (reference, Wikipedia, 15 min)
Eliminates repeating groups and comma-packed cells so every attribute holds a single value.
- Remove partial dependencies on composite keys in 2NF (reference, Wikipedia, 15 min)
Splits attributes that depend on only part of a composite primary key into their own entity table.
- Eliminate transitive dependencies in 3NF (reference, Wikipedia, 15 min)
Moves attributes that depend on non-key columns into separate lookup or reference tables.
- Close remaining determinant gaps with BCNF (article, GeeksforGeeks, 20 min)
Handles overlapping candidate keys where every determinant must be a superkey.
- Enforce normalized links with foreign keys (reference, SQLite, 20 min)
Shows how FOREIGN KEY constraints and ON DELETE rules keep decomposed tables consistent in SQL.