Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
1. Use the following business rules to create a Crows Foot ERD. Write all appropriate
connectivitys and cardinalities in the ERD.
a. A department employs many employees, but each employee is employed by one
department.
b. Some employees, known as rovers, are not assigned to any department.
c. A division operates many departments, but each department is operated by one
division.
d. An employee may be assigned many projects, and a project may have many
employees assigned to it.
e. A project must have at least one employee assigned to it.
f. One of the employees manages each department, and each department is managed
by only one employee.
g. One of the employees runs each division, and each division is run by only one
employee.
The answers to Problem 1 (all parts) are included in Figure P4.1.
As you discuss the ERD shown in Figure P4.1, note that this design reflects several useful
features that become especially important when the design is implemented. For example:
The ASSIGN entity is shown to be optional to the PROJECT. This decision makes
sense from a practical perspective, because it lets you create a new project record
without having to create a new assignment record. (If a new project is started, there
Also, if you have multiple relationships between two entities, such as the EMPLOYEE
manages DEPARTMENT and DEPARTMENT employs EMPLOYEE relationships, you
must make sure that each relationship has a designated primary entity. For example, the 1:1
relationship expressed by EMPLOYEE manages DEPARTMENT requires that the
EMPOYEE entity be designated as the primary (or first) entity. If you use Visio to create
your Crows Foot ERDs, Figure P4.3 shows how the 1:1 relationship is specified. If you use
some other CASE tool, you will discover that it, too, is likely to require similar relationship
specifications.