Database Normalization
Normal Forms
ID
Name
Phone1
Phone2
Phone3
ID
Name
ID
PhoneNumber
Normalizing a Table Example
OrderID
Name
ItemsOrdered
TotalAmount
1NF -> Make sure that each column contains atomic values and no repeating groups
OrderID
Name
ItemOrdered
TotalAmount
2NF -> Remove Partial Dependencies
OrderID
Name
TotalAmount
OrderID
ItemOrdered
3NF -> Remove Transitive dependencies
Example Table that is 2NF but not 3NF
StudentID
CourseID
CourseName
InstructorID
InstructorName
StudentID
CourseID
CourseName
InstructorID
InstructorID
InstructorName
Last updated