Question: Can you convert this Mapping to BCNF form step by step? (DATABASE MANAGEMENT QUESTION) Step 1 Customer (CustomerID (Primary Key) , phone,country,fname,lname,pincode,district,street_code,street_name,city) Product (ProductID (Primary
Can you convert this Mapping to BCNF form step by step? (DATABASE MANAGEMENT QUESTION)
Step 1
Customer (CustomerID(Primary Key), phone,country,fname,lname,pincode,district,street_code,street_name,city)
Product (ProductID(Primary Key),type,product_price,product_details,product_name)
Payment (PaymentID(Primary Key), payment_amount,data)
RawMaterials (RawMaterialsID(Primary Key), raw_price, raw_name, raw_details, available_quantity)
Employee (EmployeeID(Primary Key), emp_name,phone, start_date,countrycode,city,pincode,streetcode,streetname,country)
Profit (ProfitID(Primary Key), date, profit_amount)
Step 2
Payment (PaymentID(Primary Key), amount,data, profit_amount,CustomerID,ProfitID) (CustomerID FK refers to customer) (ProfitID FK refers to profit)
Step 3
Purchase (CustomerID(Primary Key), ProductID(Primary Key)) (CustomerID FK refers to customer) (ProductID FK refers to product)
Made by (ProductID(Primary Key), RawMaterialsID(Primary Key)) (ProductID FK refers to product) (RawMaterialsID FK refers to raw materials)
Emanagedby(RawMaterialsID(Primary Key), EmployeeID(Primary Key)) (RawMaterialsID FK refers to raw_materials) (EmployeeID FK refers to employee)
Managesby(EmployeeID(Primary Key), ProfitID(Primary Key)) (EmployeeID FK refers to employees) (ProfitID FK refers to profit)
PaymentFor(PaymentID(Primary Key), ProductID(Primary Key)) (PaymentID FK refers to payment) (ProductID FK refers to product)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
