Normalization Is The Process of Structuring Relational Database Schema Such That Most Ambiguity Is Removed
Normalization Is The Process of Structuring Relational Database Schema Such That Most Ambiguity Is Removed
The stages of normalization are referred to as normal forms and progress from the least restrictive (First
Normal Form) through the most restrictive (Fifth Normal Form). Generally, most database designers do not
attempt to implement anything higher than Third Normal Form or Boyce-Codd Normal Form.
Definition: A relation is said to be in First Normal Form (1NF) if and only if each attribute of the relation is
atomic. More simply, to be in 1NF, each column must contain only a single value and each row must contain
the same columns.
Definition: In order to be in Second Normal Form, a relation must first fulfill the
requirements to be in First Normal Form. Additionally, each nonkey attribute in the
relation must be functionally dependent upon the primary key.
Example: The following relation is in First Normal Form, but not Second Normal
Form:
In the table above, the order number serves as the primary key. Notice that the
customer and total amount are dependent upon the order number -- this data is
specific to each order. However, the contact person is dependent upon the
customer. An alternative way to accomplish this would be to create two tables: