Data Base Assegnment
Data Base Assegnment
Assignment
Normalization
Orde Custom Product Quanti Pric Order Address Contact
r ID er ty e Date
Name
101 PA kaya Pen 2 1.50 2025-01-20 121 Palm St, 666-789
NY
101 PA kaya Book 1 2.00 2025-01-20 121 Palm St, 666-789
NY
102 Junda Pencil 5 0.75 2025-01-21 456 Ough St, 666-987
CA
Initial Dataset (UNF)
1NF
Ord Custom Product Quanti Pric Order Address Contact
er er ty e Date
ID Name
101 PA kaya Pen 2 1.50 2025-01-20 121 Palm St, 666-789
NY
101 PA kaya Book 1 2.00 2025-01-20 121 Palm St, 666-789
NY
102 Junda Pencil 5 0.75 2025-01-21 456 Ough St, 666-987
CA
2NF
Separate entities into tables:
Customer Table
Customer Customer Adders Contact
ID Name
C001 PA kaya 121 Palam St, NY 666-789
C001 PA kaya 121 Palam St, NY 666-789
C002 Junda 456 Ough St, CA 666-987
Order Table
Product Product Price
ID
P001 Pen 1.50
P001 Book 2.00
P001 Pencil 0.75
Order ID Customer Order
ID Date
101 C001 2025-01-
20
101 C001 2025-01-
20
102 C002 2025-01-
21
Products Table
3NF
All tables are in 3NF as no transitive dependencies exist.
ER Diagram
Conclusion The database has been normalized to
3NF , ensuring minimal redundancy and clear
relationships between entities. The functional
dependencies and keys have been clearly defined and
illustrated in the ER diagram.