Week 4 - Modeling Data in An Organization
Week 4 - Modeling Data in An Organization
EXERCISE
2
MODELING DATA IN AN ORGANIZATION
NAME SECTION
I. OBJECTIVES
Relationship Types
• One-to-One (1:1)
• One-to-Many (1:M) or Many-to-One (M:1)
• Many-to-Many (M:M)
Prepare an E-R diagram for a real estate firm that lists property for sale. The
following describes this organization:
The firm has a number of sales offices in several states. Attributes of sales
office include Office_Number (identifier/key) and Location.
Each sales office is assigned one or more employees. Attributes of
employee include Employee_ID (identifier/key) and Employee_Name. An
employee must be assigned to only one sales office.
Page |4
For each sales office, there is always one employee assigned to manage
that office. An employee may manage only the sales office to which
he/she is assigned.
The firm lists property for sale. Attributes of property include Property_ID
(identifier) and Location. Components of Location include Address, City,
State, and Zip_Code.
Each unit of property must be listed with one (and only one) of the sales
offices. A sales office may have any number of properties listed, or may
have no properties listed.
Each unit of property has one or more owners. Attributes of owners are
Owner_ID (identifier) and Owner_Name. An owner may own one or more
units of property. An attribute of the association between property and
owner is Percent_Owned.
Task 1
Analyze the business rule and fill-in the relationship matrix in Table 2.2 to
track the existence of relationships between entities.
Task 2
Using CASE TOOL create a fully attributed ERD with keys based from the
relationship matrix you have created in Task 1.
Note: Be sure to include all attributes, relationships, and minimum and maximum
cardinalities
Page |5
1. Give three reasons why many system designers believe that data modeling is the
most important part of the system development process?
2. State a rule that says when to extract an attribute from one entity type and place
it in a linked entity type.
V. REFERENCES
Hoffer, J.A., Prescott, M.B., McFadden, F.R. (2016). Modern Database Management
12th Edition, Prentice Hall.
(2020). Retrieved from http://users.csc.calpoly.edu/~jdalbey/205/Lectures/HOWTO-
ERD.htm