Data Model and ER Diagram
Data Model and ER Diagram
12. Use the following business rules to create a Chen/Crow’s Foot ERD.
Write all appropriate connectivity and cardinalities in the ERD.
• A department employs many employees, but each employee is
employed by only one department.
• Some employees, known as “rovers,” are not assigned to any
department.
• A division operates many departments, but each department is operated
by only one division.
• An employee may be assigned many projects, and a project may have
many employees assigned to it.
• A project must have at least one employee assigned to it.
• One of the employees manages each department, and each department
is managed by only one employee.
• One of the employees runs each division, and each division is run by
only one employee.
1.data models are a com'munication tool, application are created to manage data and to help transform data into
information, but data is viewed in different ways by different people, a sound data environment requires an overall database
blueprint based on an appropriate data model.
2.a business rule is a brief, precise and unambiguous description of a policy, procedure, or principle within a specific
organization, they apply to any organization that stores and uses data to generate information. Business rules are used to
define entities , attributes, relationships , and constraints, they must be easy to understand and widely disseminated. In data
modeling, business rules play a vital role in shaping the structure and behavior of the databases, the purpose in data
modeling includes improving the data integrity and data quality, consistency, compliance and business logic
3.for example, the business rule “ a customer may generate many invoices” contains two nouns and a verbs that associates
the nouns, you could deduce the following: customer and invoice are objects of interest for the environment and should be
represented by their respective entities, there is a generate relationship between customer and invoice, the rule above is
complemented by the business rule “an invoice is generated by only one customer”.
4.database designers prefers to use a graphical tool in which entities and their relationships are pictured, the ER model was
developed to do just that, the relational data model and ERM combined to provide the foundation for tightly structured
database design.
5. For example, an entity could be “car”, refers to a general concept or thing, but an object could be “Mercedes Benz” , a
specific instance of a car, a specific instance or instantiation of that concept or thing.
6.a relationship is an association among entities. Three types of relationships exist one-to-one, one-to-many, many-to-
many.
7.for example, “one-to-one” relationship could be “each employee may only have one record”, “one-to-many” relationship
could be “each department have many employees, but each employee belongs to only one department”, and “many-to-
many” relationship can be “students may enroll in multiple courses, and each course may have multiple students”
8.a table is a fundamental structure used to store data, it organizes data into rows and columns, where each row represents
a single records or instance of the entity being modeled, and each column represents a specific attributor characteristic of
that entity, tables are also referred to as relations in the relational model
10.logical independence exists when you can change the internal model without affecting the conceptual model .
11.physical independence exists when. without affecting the internal model, you have physical independence
12.
13. The Jonesburgh County Basketball Conference (JCBC) is an
amateur basketball association. Each city in the county has one team
as its representative. Each team has a maximum of 12 players and a
minimum of 9 players. Each team also has up to three coaches
(offensive, defensive, and physical training coaches). During the
season, each team plays two games (home and visitor) against each
of the other teams. Given those conditions, do the following:
c. Identify the cardinality between teams and players and between teams
and city.
d. Identify the dependency between COACH and TEAM and between
TEAM and PLAYER.
e. Draw the Chen and Crow’s Foot ERDs to represent the JCBC database.