Question
IV. (10 points) A national supermarket chain assigns its stores unique store numbers. Each store has several departments, such as produce, meat, bakery, canned goods,
IV. (10 points) A national supermarket chain assigns its stores unique store numbers. Each store has several departments, such as produce, meat, bakery, canned goods, and so forth. Each department in each store has a department manager, identified by an employee number that is unique across the entire company. The company wants to track the annual sales of each department in each store and also wants to be able to consider such data on the basis of the responsible department manager. This leads to the following functional dependencies:
StoreNumState
StoreNumCity
StoreNumAddress
StoreNumTelephone
StoreNum, DeptNameDeptManagerNum
StoreNum, DeptNameAnnualSales
StoreNum, DeptNameFloorSpace
DeptManagerNumAnnualSales
DeptManagerNumFloorSpace
For each of the following tables, first write the table's current normal form (as1NF, 2NF, or 3NF.) Then, for those tables that are currently in 1NF or 2NF, reconstruct them as well-structured 3NF tables. Primary key attributes are underlined. Do not assume any functional dependencies other than those shown above.
a. StoreNum,DeptName,AnnualSales,FloorSpace
b. StoreNum,DeptName,DeptManagerNum,AnnualSales,FloorSpace
c. StoreNum, DeptName, State, City, DeptManagerNum, AnnualSales, FloorSpace
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started