Uploaded by thegooter123

er diagramzz

advertisement
A company database needs to store information about employees (identified by ssn,
with salary and phone as attributes), departments (identified by dno, with dname and
budget as attributes), and children of employees (with name and age as attributes).
Draw an ER diagram that captures the relationship between department, employee, and
children. Show entity names, primary keys, attributes for each entity, relationships
between the entities and cardinality (state your assumption about cardinality clearly).
Assumptions: a department employs many employees. A person is employed by, at most one
department. Each department employs at least one employee; each employee is hired by at
least one department. Employees may have many children or may not have any child; each child
must have one parent employee.
dname
budget
ssn
Salary
Phone
dno
employ
Department
employees
Children
name
age
This study source was downloaded by 100000834870597 from CourseHero.com on 04-04-2022 11:33:23 GMT -05:00
https://www.coursehero.com/file/91567195/ER-1docx/
Powered by TCPDF (www.tcpdf.org)
Download