Question: Comet Coffee ( CC ) is a new coffee shop franchise that is starting to gain in popularity. As part of its growing pains, it
Comet Coffee CC is a new coffee shop franchise that is starting to gain in popularity. As part of its growing pains, it needs help when it comes to designing databases. Below is a randomly selected sample listing showing different product sales. As a newly assigned database architect, you realize this current single list will break down as the firm grows with more products, locations and sales. Your task is to determine a better approach to handling CCs data needs, using database normalization practices. To achieve your goal, answer in order the questions shown below.
Assuming that all functional dependencies are apparent in this data, which of the following are true? Highlight the answer rows
aProductIDProductNameStoreLocation
bProductID UnitPriceProductNameQtySold
cCashierIDStoreID
dStoreIDCashierID
eStoreID OrderIDStoreCategory StoreLocation
fProductIDProductTypeProductName,UnitPrice,UnitCost
gProductID ProductTypeProductNameUnitPrice,UnitCost
hOrderID ProductIDOrderDate CashierID, QtySold,UnitPrice
iOrderID OrderDate, CashierIDQtySoldUnitPrice, ProductID, StoreID
jStoreIDStoreCategory StoreLocation
Assume a PRODUCT entity can be derived from the above listing. List all candidate keys for PRODUCT. Restrict your answer to the rows you highlighted in #
Based on your answer to # which candidate key would make the better primary key of the PRODUCT entity? List your reasoning.
Are any determinants you highlighted in # not a candidate key of the PRODUCT entity? If so list those functional dependencyies in standard notation
Based on what you determined in questions and and considering future growth, is it necessary to split the provided sample data matrix into multiple entities? If so list the themes of all entities.
For each theme identified in question # use standard entityrelation notation ie ENTITYNAME PrimaryKey Column Column ForeignKey
to describe each entity. Identify all primary and foreign keys. Hint: If any attribute in an entity Entity A is part of a primary key for A and also serves as a foreign key to another entity Entity B you would both underline and italicize the attributes in As notation. List any assumptions.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
