Normalizing a table means organizing the data to reduce redundancy. This is done by following a set of rules known as normal forms, which break data into smaller, related tables and establish relationships using primary keys and foreign keys.

Example of Normalization

Denormalized Table (Repeating Data)

DateCustomer_IDCustomer_NameOrder_IDProduct_IDProductQuantityPrice
2025-05-25101Alice11Laptop11000
2025-05-25101Alice12Mouse150
2025-05-29102Bob23Phone1700

Normalized Tables

  1. Orders Table
DateOrder_IDCustomer_ID
2025-05-251101
2025-05-292102
  1. Customers Table
Customer_IDCustomer_Name
101Alice
102Bob
  1. Order_Details Table
Order_IDProductQuantityPrice
1Laptop11000
1Mouse150
2Phone1700

Now, customers and orders are stored separately, reducing redundancy and improving data consistency.