Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

UNF ( Unnormalized Form ) : o Customer Table: CustomerID ( Primary Key ) CustomerName CustomerAddress CustomerCategory DiscountRate Product Table: ProductID ( Primary Key )

UNF (Unnormalized Form):
o Customer Table:
CustomerID (Primary Key)
CustomerName
CustomerAddress
CustomerCategory
DiscountRate
Product Table:
ProductID (Primary Key)
ProductName
Description
Category
Price
StockLevel
VendorID (Foreign Key)
Order Table:
OrderID (Primary Key)
CustomerID (Foreign Key)
OrderDate
PaymentOption
OrderDetails Table:
OrderID (Primary key , Foreign Key)
ProductID (Primary key, Foreign Key)
Quantity
UnitPrice
1NF (First Normal Form):
Customer Table:
CustomerID (PK)
CustomerName
CustomerAddress
CustomerCategory
DiscountRate
Product Table:
ProductID (PK)
ProductName
Description
Category
Price
StockLevel
Order Table:
OrderID (PK)
CustomerID (FK)
OrderDate
PaymentOption
OrderDetails Table:
OrderID (PK, FK)
ProductID (PK, FK)
Quantity
UnitPrice
2NF (Second Normal Form):
Customer Table:
CustomerID (PK)
CustomerName
CustomerAddress
CustomerCategory
DiscountRate
Product Table:
ProductID (PK)
ProductName
Description
Category
Price
StockLevel
VendorID (FK)
Order Table:
OrderID (PK)
CustomerID (FK)
OrderDate
PaymentOption
OrderDetails Table:
OrderID (PK, FK)
ProductID (PK, FK)
Quantity
UnitPrice
o 3NF (Third Normal Form):
o Customer Table:
CustomerID (PK)
CustomerName
CustomerAddress
CustomerCategory
DiscountRate
Product Table:
ProductID (PK)
ProductName
Description
Category
Price
StockLevel
VendorID (FK)
Order Table:
OrderID (PK)
CustomerID (FK)
OrderDate
PaymentOption
OrderDetails Table:
OrderID (PK, FK)
ProductID (PK, FK)
Quantity
UnitPrice
Vendor Table:
VendorID (PK)
VendorName
Draw 2 ER Diagram, for initial (before normalization) and final (after normalization) with entities and relationships according to the above normalization

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions