Question: Suppose you are involved in developing a database system for the Restaurant database of XVZ company. The operation of the restaurant can be described as

Suppose you are involved in developing a database system for the Restaurant database of XVZ company. The operation of the restaurant can be described as follows. They have a file of booking that they provide to their customers. Each type of food has a unique food code, food descriptions, as well as, a cost, quantity and a price. They have a file of customers. Each customer is given a unique customer number. This file also contains customer names, and customer telephone. A customer may make zero, one or more bookings at a time, and an order is always placed by one customer alone. Information as to booking includes the date due, the total price, quantity and the status. A bookings may involve one or more than one type of food, and a type of food may be involved in more than one booking. Given this information, draw an ER diagram for this Sales Department. Identify and label the primary key(s) of each entity, relationships and the foreign keys required for creating the relational model.

Suppose you are involved in developing a database system for the Restaurant

2 packId address custid custName date model unit itemPrice cost 1122 A10 John 2000 20000 123 main st. 10/2/16 Iphone 10 6 5 200 1000 Sams 3 1001 A20 Sam 11/4/16 ZTC 1 20 100 2000 234 st gate 2004 A22 Lau 22/5/16 HTC 92 2000 4000 989 st mid ZTC 1 2 100 200 Sam 3 1 200 200 The above sales table is from Company XYZ. The company would to build the database to record the form information. You as the database administrator, normalize the above table from 1 Normal Form (INF), 2NF and 3NF. (30 marks) 8:03 ENG

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!