Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Solve this two E-R Diagram 1st ER-Diagram In a Coffee Shop Management System, a customer can order coffee from the menu. A Coffee can be

Solve this two E-R Diagram

1st ER-Diagram

In a Coffee Shop Management System, a customer can order coffee from the menu. A Coffee can be ordered by one customer. A customer can have many Coffees. A customer is identified by the table number, the system also stores their name. A coffee is identified by the Coffee ID, coffee type, coffee price and roast level of the coffee, the system will also track the number of coffees ordered. Order is taken by staff. The coffee is then made by staff. A staff member can manage many customers, A customer can be managed by only one staff member. A staff member is identified by Staff ID and staff name. The system also stores the work hours and salary. A customer pays bills. A customer can pay many bills, but a bill can only be paid by one customer. A bill contains the bill number, total price and the payment method. The bill is taken by a staff member. While the bill is being taken the date is recorded.

2nd ER-Diagram

Consider that you are hired by a software development company for designing their database. The company has several teams such as Development Team, Operations Team, Software Quality Assurance Team etc. Each of these teams may work on several projects. Also, it must be noted that a project may require the involvement of multiple teams. Furthermore, a project is always associated with one client. But a client may get associated with a number of projects. Finally, the company also has a number of employees each of whom works in only one team but she/he may work on several projects.

The company now wishes to store the names of the teams, names of projects, estimated cost of the projects, names of clients, addresses of clients, phone numbers of clients, payments made by the clients so far for particular projects, names of employees, addresses of employees, phone numbers of employees, dates of birth of employees, dates of joining of employees and number of hours worked by the employees on particular projects.

Construct a clean and concise ER diagram for the database that will be used to manage all the data needed by the company. You must indicate primary keys, multivalued attributes (if any) and cardinality mappings in your diagram.

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

Genetic Databases

Authors: Martin J. Bishop

1st Edition

ISBN: 0121016250, 978-0121016258

More Books

Students also viewed these Databases questions

Question

c. What groups were least represented? Why do you think this is so?

Answered: 1 week ago

Question

What is meant by decentralisation?

Answered: 1 week ago

Question

Write down the Limitation of Beer - Lamberts law?

Answered: 1 week ago

Question

Discuss the Hawthorne experiments in detail

Answered: 1 week ago

Question

Explain the characteristics of a good system of control

Answered: 1 week ago

Question

State the importance of control

Answered: 1 week ago

Question

7. It is advisable to do favors for people whenever possible.

Answered: 1 week ago