Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

A company database needs to store information about its employees (identified by ssn, with salary, phone and title as attributes) and departments (identified by dno,

A company database needs to store information about its employees (identified by ssn, with salary, phone and title as attributes) and departments (identified by dno, with dname and budget as attributes), given the additional information below. Employees work in at least one department; each department is managed by exactly one employee and we want to know the date the manager started managing the department. An employee may be assigned at most one mentor. A mentor is a manager that gives advice for career development related issues to employees working in any department (the mentees). Not all managers are required to serve as mentors. We want to store information about a mentor-mentee relationship and when it was established . Draw an ER diagram to capture the situation described above.

Make sure you capture as many integrity constraints as possible and explicitly mention those that can not be captured by the ER diagram (if any).

(Use arrowheads and bold lines )

Similar to the added photo, but with Mentors/Managers bold

image text in transcribed

salary dname phone dno budget Employees Manages Departments Works In Dependent child age

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

Database Driven Web Sites

Authors: Mike Morrison, Joline Morrison

1st Edition

061901556X, 978-0619015565

More Books

Students also viewed these Databases questions

Question

=+What are the variables that would infl uence the decision?

Answered: 1 week ago

Question

How do Data Types perform data validation?

Answered: 1 week ago

Question

How does Referential Integrity work?

Answered: 1 week ago