Академический Документы
Профессиональный Документы
Культура Документы
i. Prepare an ERD for a real estate firm that lists property for sale. The following describes
the organization (NOTE: For most of the information given, it is up to you to determine
which are primary keys):
ii. The firm has a number of SALES_OFFICES in several states. Each office is identified
by a Office_Number and its location.
iii. Each SALES_OFFICE is assigned one or more EMPLOYEES. Attributes of
EMPLOYEE include Employee_ID and Employee_Name. An employee must be
assigned to only one SALES_OFFICE.
iv. For each sales office, there is always one employee assigned to manage that office. An
employee may manage only the sales office to which s/he is assigned.
v. The firm lists PROPERTY for sale. Some of the information they keep track of include
Property_ID and Location. Components of Location include Street, City, State, and
Zipcode.
vi. 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.
vii. Each unit of PROPERTY has one or more OWNERS, who are identified by Owner_ID
and Name. An OWNER may own one or more units of PROPERTY.