-Using MySQL Workbench Data Modeler, create three (3) models
from the tables below. Show Table 1 in 3rd Normal Form. Show Table
2 in 3rd Normal Form. Merge the 3rd Normal Forms of Table 1 and
Table 2 into a single 3rd Normal Form model. Note that you only can
model table and column names and data types. The data shown is for
your reference to determine functional, partial, and transitive
dependencies.
-Provide a summary of the steps you took to achieve 3rd Normal
form. Include your rationale for new table creation, key selection
and grouping of attributes.
Table 1 | Table 2 | ||||||||||
Department | ProductCode | AisleNumber | Price | UnitofMeasure | Supplier | Product | Cost | Markup | Price | DeptCode | |
Produce | 4081 | 1 | $0.35 | lb | 21 – Very Veggie | 4108 – tomatoes, plum | $1.89 | 5% | $1.99 | PR | |
Produce | 4027 | 1 | $0.90 | ea | 32 – Fab Fruits | 4081 – bananas | $0.20 | 75% | $0.35 | PR | |
Produce | 4108 | 1 | $1.99 | lb | 32 – Fab Fruits | 4027 – grapefruit | $0.45 | 100% | $0.90 | PR | |
Butcher | 331100 | 5 | $1.50 | lb | 32 – Fab Fruits | 4851 – celery | $1.00 | 100% | $2.00 | PR | |
Butcher | 331105 | 5 | $2.40 | lb | 08 – Meats R Us | 331100 – chicken wings | $0.50 | 300% | $1.50 | BU | |
Butcher | 332110 | 5 | $5.00 | lb | 08 – Meats R Us | 331105 – lean ground beef | $0.60 | 400% | $2.40 | BU | |
Freezer | 411100 | 6 | $1.00 | ea | 08 – Meats R Us | 332110 – boneless chicken breasts | $2.50 | 100% | $5.00 | BU | |
Freezer | 521101 | 6 | $1.00 | ea | 10 – Jerry’s Juice | 411100 – orange juice | $0.25 | 400% | $1.00 | FR | |
Freezer | 866503 | 6 | $5.00 | ea | 10 – Jerry’s Juice | 521101 – apple juice | $0.25 | 400% | $1.00 | FR | |
Freezer | 866504 | 6 | $5.00 | ea | 45 – Icey Creams | 866503 – vanilla ice cream | $2.50 | 100% | $5.00 | FR | |
45 – Icey Creams | 866504 – chocolate ice cream | $2.50 | 100% | $5.00 | FR |
CREATE TABLE Product ( ProductID INT NOT NULL, ProductName VARCHAR NOT NULL, Cost FLOAT NOT NULL, MarkUp FLOAT NOT NULL, Price FLOAT NOT NULL, PRIMARY KEY (ProductID) ); CREATE TABLE Supplier ( SuplierID INT NOT NULL, SuplierName INT NOT NULL, PRIMARY KEY (SuplierID) ); CREATE TABLE Department ( Code CHAR NOT NULL, DepartmentName VARCHAR NOT NULL, AisleNumber INT NOT NULL, SuplierID INT NOT NULL, ProductID INT NOT NULL, PRIMARY KEY (Code), FOREIGN KEY (SuplierID) REFERENCES Supplier(SuplierID), FOREIGN KEY (ProductID) REFERENCES Product(ProductID) );
Get Answers For Free
Most questions answered within 1 hours.