Normalization of data refers to the systematic organization of data in DBMS by eliminating
repetitive data. To normalize the sales report, repetitive groups are eliminated. Tables formed in the first normal form are shown below: Customer Table:
Customer Customer Name Address Customer
Number (PK) Total Table 1 Invoice Table:
Invoice Customer Date Invoice Part Quantity Unit Extended
Number Number Total Number Price Price (PK) (PK) Table 2 Customer table is in 3 NF form as it is free from any dependencies. Invoice table should be normalized further to eliminated partial and transitive dependencies. Partial dependency of quantity on invoice number and part number should be removed to produce tables in 2 NF form. In this step, invoice table will split into invoice table and line item is as shown below: Invoice Table:
Invoice Customer Date Invoice Total
Number (PK) Number (PK) Table 3 Line Item Table:
Invoice Part Number Quantity Unit Price Extended
Number (PK) Price Table 4 Invoice table is in 3 NF form, but line item table still has transitive dependency.