SQL Unit2 NORMALIZATION
SQL Unit2 NORMALIZATION
If any one of the attribute values need to be updated, say Salary of the
Faculty_id=1 to 50000. It has to be changed for all other corresponding
tuples to maintain consistency.
Normalization works through a series of stages called Normal forms. The
normal forms apply to individual relations. The relation is said to be normal
form if it satisfies constraints.
Types of Normal Forms:
Following are the various types of Normal forms:
Normal Description
Form
2NF A relation will be in 2NF if it is in 1NF and all non-key attributes are fully
functional dependent on the primary key.
BCNF BCNF is a stricter form of 3NF that ensures that each determinant in a table is a
candidate key. In other words, BCNF ensures that each non-key attribute is
dependent only on the candidate key.
4NF A relation will be in 4NF if it is in Boyce Codd's normal form and has no multi-
valued dependency.
5NF A relation is in 5NF. If it is in 4NF and does not contain any join dependency,
joining should be lossless.