Question 3 Tshepo has put a lot of thought into the data that he wants to store in the carbon accounting database. He has also spoken to the CEOs of a number of companies in the group to get their inputs. Between them, they have come up with a set of business rules to be used as the basis for the data model design. Draw an entity relationship diagram (ERD) in Unified Modelling Language (UML) notation according to these business rules. Marks will be awarded as follows:

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

Question 3

Tshepo has put a lot of thought into the data that he wants to store in the carbon accounting database. He has also spoken to the CEOs of a number of companies in the group to get their inputs. Between them, they have come up with a set of business rules to be used as the basis for the data model design.

Draw an entity relationship diagram (ERD) in Unified Modelling Language (UML) notation according to these business rules. Marks will be awarded as follows:

Project ACME Green – Business Rules
1. A single database will be created that will track the carbon footprints? of all the companies
within the ACME Technologies group.
2.
All tables in the database must have surrogate primary keys.
3.
Each company has a name and consists of one or more departments.
4.
Each company has one employee that is the CEO of the company. That employee may only
be the CEO of one company, and not all employees are CEOS.
5.
Each department must have exactly one employee who is the Green Champion – the
person responsible for any initiatives related to the carbon footprint of the department.
That employee may only be the Green Champion for a single department, and not all
employees are Green Champions.
6.
The following data must be recorded for each employee: name and surname.
7.
Some departments have products that they are responsible for. Each product must be
allocated to exactly one department, and must have a description.
8. The main purpose of the database is to record carbon transactions. Each carbon
transaction is accounted for by exactly one department. Optionally, the single product
that the carbon transaction relates to can also be recorded.
9. The following data must be recorded for each carbon transaction: date and value.
Transcribed Image Text:Project ACME Green – Business Rules 1. A single database will be created that will track the carbon footprints? of all the companies within the ACME Technologies group. 2. All tables in the database must have surrogate primary keys. 3. Each company has a name and consists of one or more departments. 4. Each company has one employee that is the CEO of the company. That employee may only be the CEO of one company, and not all employees are CEOS. 5. Each department must have exactly one employee who is the Green Champion – the person responsible for any initiatives related to the carbon footprint of the department. That employee may only be the Green Champion for a single department, and not all employees are Green Champions. 6. The following data must be recorded for each employee: name and surname. 7. Some departments have products that they are responsible for. Each product must be allocated to exactly one department, and must have a description. 8. The main purpose of the database is to record carbon transactions. Each carbon transaction is accounted for by exactly one department. Optionally, the single product that the carbon transaction relates to can also be recorded. 9. The following data must be recorded for each carbon transaction: date and value.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 1 images

Blurred answer
Follow-up Questions
Read through expert solutions to related follow-up questions below.
Follow-up Question

sorry but are you really an "expert"?  do you really have a master's or a doctorate? because it's very weird to answer off the mark each time honestly, it's level L2

Solution
Bartleby Expert
SEE SOLUTION
Follow-up Question

Solution incorrect. CEO is not an entity and you missed GreenChampion

Solution
Bartleby Expert
SEE SOLUTION
Follow-up Question

Hello, 

If GreenChampion is not an entity, why someone told me this ? 

Thank you

Company
Company - v
location
Contact
1
has
1
CEO
nain
C-ID
Name
Phone
Email
1.
1
Courists
has
Department
1* Dept-ID
Dept_name
location
1 *
has
1
Employee
E-ID
1 Naume
Phone No.
Email
Surname
accounted
for
1
work on
Carbon
Transcation
Trans-ID
date
Value
Product
Prod-ID
Quantity
Decoration
171 Green
champio
has
sion
Emp-1
●Dept_crame
hame
Transcribed Image Text:Company Company - v location Contact 1 has 1 CEO nain C-ID Name Phone Email 1. 1 Courists has Department 1* Dept-ID Dept_name location 1 * has 1 Employee E-ID 1 Naume Phone No. Email Surname accounted for 1 work on Carbon Transcation Trans-ID date Value Product Prod-ID Quantity Decoration 171 Green champio has sion Emp-1 ●Dept_crame hame
Solution
Bartleby Expert
SEE SOLUTION
Follow-up Question

Hello, 

Can you tell me if for this exercise, there are 6 or 7 entities? and if, tell me why? Because someone told me that GreenChampion is an entity but I'm not sure about that. 

I wanted to know also, why we don't connect carbon transaction with product with the verb "recorded" since the sentence said that : 'Optionally, the single product that the carbon transaction relates to can also be recorded'.

Thank you.

Solution
Bartleby Expert
SEE SOLUTION
Follow-up Question

Sorry but I don't understand your explication. in the solution, you say that CEO is an entity and now you say the opposite? I do not understand??

Je ne vois rien à propos du GreenChampion.

Solution
Bartleby Expert
SEE SOLUTION
Follow-up Question

I don't understand why CEO is an entity? For me, we link company to employee by the relation "composed" and composed has a CEO name which is an attribute of the relation. 

And why there is nothing about GreenChampion?  

Solution
Bartleby Expert
SEE SOLUTION
Follow-up Question

Hello, why on the diagram there are no associations or cardinalities?

Solution
Bartleby Expert
SEE SOLUTION
Knowledge Booster
Database Environment
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education