Question: 2. (5 points) A company database needs to store information about employees (identified by ssn, with address, salary and phone as attributes), departments (identified by

2. (5 points) A company database needs to store information about employees (identified by ssn, with address, salary and phone as attributes), departments (identified by did, with dname and budget as attributes), and children of employees (with name and age as attributes). Each employee work in some department; each department is managed by an employee; a child must be identified uniquely by name when the parent (who is an employee; assume that only one parent works for the company) is known. We are not interested in information about a child once the parent leaves the company Draw an ER diagram that captures this information. Be sure to indicate weak entity sets, and primary key, cardinality, total participation constraints in your diagram
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
