Reference no: EM132674469
Question - 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:
StoreNum State
StoreNum City
StoreNum Address
StoreNum Telephone
StoreNum, DeptName DeptManagerNum
StoreNum, DeptName AnnualSales
StoreNum, DeptName FloorSpace
DeptManagerNum AnnualSales
DeptManagerNum FloorSpace
For each of the following tables, first write the table's current normal form (as 1NF, 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