Professional Documents
Culture Documents
Database Normalization: Third Normal Form
Database Normalization: Third Normal Form
Normalization
Third Normal Form
M.Z.M.Hassaan
BSc in ICT, CIMA, PGDE
Third Normal Form
(3NF)
A database s in third normal form if it satisfies
the following conditions.
X,Y,Z
X Y Y Depends on X
Y Z Z Depends on Y Then
X Z Via Y
Third Normal Form
Note
When we consider the above table we can see Category ID depends on Toys
ID(Primary Key). We can also note that the Category Name depends on Category ID
So we can say Category Name depends on Toys ID(Primary Key) Via Category ID. This
is known as Transitive Dependency
So this table is not in 3NF
Example – Converting to 3NF
Toys Table
Toys ID Category ID Category Name Price
5600 101 Soft Toy 500
5601 202 Indoor 1000
5602 101 Soft Toy 650
5603 303 Outdoor 5500
5604 202 Indoor 1500
End