Question: 1 - Admin: Stores information about the restaurant manager. - Admin _ ID ( Primary key ) - Name - Username - Password - Email
Admin: Stores information about the restaurant manager.
AdminID Primary key
Name
Username
Password
Email
Phone Number
Staff: Stores information about the restaurant staff.
StaffID primary key
Name
Position
ContactNumber
Email
Customer: Stores information about the customers.
CustID primary key
Name
ContactNum
Email
MenuItems: Stores information about individual items in the menu.
ItemID primary key
Name
Description
Price
Dish: Stores information about the dishes offered by the restaurants.
DishID primary key
Name
Description
Price
Chefid foreign key referencing Staff.staffid
Beverage: Stores information about the beverages offered by the restaurant.
Beverageid primary key
Name
Description
Price
Sweet: Stores information about the sweets or desserts offered by the restaurant.
SweetID primary key
Name
Description
Price
Reservation: Stores information about the customer reservations.
ReservationID primary key
CustID foreign key referencing Customer.customerid
TableID foreign key referencing Table.tableid
ReservationDate
Reservationtime
GuestsNum
Table: Stores information about the tables available in the restaurant.
TableID primary key
Capacity
Order: Stores information about customer orders.
OrderID primary key
CustID foreign key referencing Customer.customerid
TableID foreign key referencing Table.tableid
OrderDate
OrderTime
Quantity
Payment: Stores information about the customer payments for their orders.
PaymentID primary key
OrderID foreign key referencing Order.orderid
Amount
PaymentDate
PaymentTime
drew the ER digram
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
