Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
443 views5 pages

Tutorial 2

The document describes an entity relationship diagram for a real estate firm. The firm has sales offices located in different states. Each office is assigned employees and manages a property manager. Properties are listed with a single sales office and have one or more owners. The diagram shows entities for employee, sales office, property, and owner along with their attributes and relationships.

Uploaded by

Ather Ahmed
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
443 views5 pages

Tutorial 2

The document describes an entity relationship diagram for a real estate firm. The firm has sales offices located in different states. Each office is assigned employees and manages a property manager. Properties are listed with a single sales office and have one or more owners. The diagram shows entities for employee, sales office, property, and owner along with their attributes and relationships.

Uploaded by

Ather Ahmed
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 5

Alaa Altheneyan

CSC1203

Q1. 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) and Location. Each sales office is assigned one or more employees.Attributes of employee include Employee_ID (Identifier) and Employee_Name. An employee must be assigned to only one sales office.
Alaa Altheneyan CSC1203 2

For each sales office, there is always one employee assigned to manage that office. An employee may manage only the sales office to which 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.

Alaa Altheneyan

CSC1203

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.

Alaa Altheneyan

CSC1203

EMPLOYEE

Eid Ename

manages

Is assigned

SALES FFICE

Office No Location

Zip street state

address

lists

location Property Id

PROPERTY

Owner Id

Owner name

owns

OWNER
CSC1203 5

Alaa Altheneyan

You might also like