Uploaded by Malaka Nipun

Untitled document (1)

advertisement
A company database needs to store information about employees (identified by ssn, with
salary and phone as attributes), departments (identified by dna, with dname and budget as
attributes), and children of employees (with name and age as attributes). Employees work in
departments; 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.
Download