Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

i want a description just like the pic i giveDescription: Suppose that after the requirements collection and analysis phase, the database designers provide the following

i want a description just like the pic i giveDescription:
Suppose that after the requirements collection and analysis phase, the database
designers provide the following description of the miniworld - the part of the company
that will be represented in the database:
The company is organized into departments. Each department has a unique
name, a unique number, and a particular employee who manages the
department. We keep track of the start date when that employee began
managing the department. A department may have several locations.
A department controls a number of projects, each of which has a unique
name, a unique number, and a single location.
x We store each employee's name, Social Security number, address, salary, sex
(gender), and birth date. An employee is assigned to one department, but
may work on several projects, which are not necessarily controlled by the
same department. We keep track of the current number of hours per week
that an employee works on each project. We also keep track of the direct
supervisor of each employee (who is another employee).
We want to keep track of the dependents of each employee for insurance
purposes. We keep each dependent's first name, sex, birth date, and
relationship to the employee.
1-Admin: Stores information about the restaurant manager. (Jawan)
- Admin_ID (Primary key)
- Name
- Username
- Password
- Email
- Phone Number
2- Staff: Stores information about the restaurant staff. (Nada)
- Staff_ID (primary key)
- Name
- Position
- Contact_Number
- Email
3- Customer: Stores information about the customers. (Reham)
- CustID (primary key)
- Name
- ContactNum
- Email
4- MenuItems: Stores information about individual items in the menu. (Salwa)
- Item_ID (primary key)
- Name
- Description
- Price
5- Dish: Stores information about the dishes offered by the restaurants. (Khadijah)
- Dish_ID (primary key)
- Name
- Description
- Price
- Chef_id (foreign key referencing Staff.staff_id)*
6- Beverage: Stores information about the beverages offered by the restaurant. (Donya)
- Beverage_id (primary key)
- Name
- Description
- Price
7- Sweet: Stores information about the sweets or desserts offered by the restaurant. (Taif)
- Sweet_ID (primary key)
- Name
- Description
- Price
8- Reservation: Stores information about the customer reservations. (Ghala)
- Reservation_ID (primary key)
- CustID (foreign key referencing Customer.customer_id)
- Table_ID (foreign key referencing Table.table_id)
- Reservation_Date
- Reservation_time
- GuestsNum
9- Table: Stores information about the tables available in the restaurant. (Wasan)
- Table_ID (primary key)
- Capacity
10- Order: Stores information about customer orders. (Haneen)
- Order_ID (primary key)
- CustID (foreign key referencing Customer.customer_id)
- Table_ID (foreign key referencing Table.table_id)
- Order_Date
- Order_Time
- Quantity
11- Payment: Stores information about the customer payments for their orders. (Layan)
- Payment_ID (primary key)
- OrderID (foreign key referencing Order.order_id)
- Amount
- Payment_Date
- Payment_Time
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions