5 Normalization Form
5 Normalization Form
Normalization
• Normalization is a systematic approach to organize data in a database to eliminate
redundancy, avoid anomalies and ensure data consistency. The process involves breaking
down large tables into smaller, well-structured ones and defining relationships between
them
• A large set of data is structured into a bunch of smaller tables, and the tables have a proper
Relationship between them.
• It is a multi-step process that puts data into tabular form, removes duplicate data, and set up
the relationship between tables.
Sales
Primary key: ( Prod_Id,Sup_Id)
But the above table is not in 2NF because there is a partial dependency
Sales:
Product:
Prod_Id Prod_name
Supplier:
Sup_Id Sup_Name
Sales:
Cust_Id->Cust_name
that is a non key attribute determines an attribute value that non key attribute Cust_nmae
transitively dependent on primary key, this is not allowed in 3NF.
Sales:
Customer:
Cust_Id Cust_name
Product:
Prod_Id Prod_name
Supplier:
Sup_Id Sup_Name