Question: Question 3 ( 3 0 marks ) The table below shows some sample data of a database in a restaurant. The OrderID and ltemNo form
Question marks
The table below shows some sample data of a database in a restaurant. The OrderID and ltemNo form a composite primary key. The table stores data in one month, in which the prices do not change.
tableOrdertDItemNo,TableNo,Date,InTime,DishiD,DishName,UnitPrice,Qty:AShrimp Cocktail,:PSeafood Spaghetti,:Caesar Salad,:MLamb Shrank,:MSirloin Steak,:MLamb Shrank,
a To which types of anomalies insertion deletion, modification is the above table susceptible? Please provide an example for each type of anomaly.
b Draw the dependency diagram of the above table. Label all dependencies full partial, transitive
c Normalize the above table to NF Give your answer in the form of celational schemas
ENTITYAttributel Attribute?, Attribute
with the primary key attributes underlined.
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
