In: Computer Science
Create an ER diagram for each of the following descriptions:
(a) Each company operates four departments, and each department belongs to one company.
(b) Each department in part (a) employs one or more employees, and each employee works for one department.[with a startdate]
(c) Each of the employees in part (b) may or may not have one or more dependents, and each dependent belongs to one employee.
(d) Suppose
company with attributes cnumber, cname, caddress, President.
department with attributes dname, dnumber, location.
employe with attributes ename, ssn(social security number), sex,
address, salary, birthdate.
dependent with attributes dpNmae, sex, birthdate, relationship(to
the employee).
(e) Represent all the ER diagrams described in (a), (b), (c), and (d) as a single ER diagram.