INFORMATION SYSTEM HOMEWORK . THE HOMEOWRK ABOUT The Bank of Elk River,

profilealaa_1
basic_symbols.pptx

1

Basic Symbols

1

2

Student Entity type using E-R notation

2

3

Multivalued – Employee

3

4

Weak (attributive) entity

4

5

Example relationships of different degrees

10.5

5

6

Bill of Materials Unary Relationship

(a) Many-to-Many Relationship

(b) Two Instances

6

7

CA

Consider the Is_married_to unary relationship

Assume we want to know the date on which a marriage occurred. Augment this ER diagram to include a Date_married attribute.

Since sometimes persons remarry after the death of a spouse or divorce, redraw this ERD to show the whole history of marriages for person. Show the Date_married attribute on this diagram.

7

8

1

8

9

2.

9

10

10

11

Optional cardinalities

11

12

Mandatory Cardinalities

12

13

One optional, one mandatory cardinality

13

14

1:M Relationship(ERD)

14

15

M:M Relationship(tbl)

15

16

M:M Relationship(ERD)

16

17

IS-A Relationships(tbl)

17

18

IS-A Relationships (ERD)

18

19

CA

In a real state DB, there is an entity called PROPERTY, which is a property for sale by the agency. Each time a potential property buyer makes a purchase offer on a property, the agency records the date, offering price, and name of the person making the offer.

Represent the PROPERTY entity and its purchase offer attributes using the notation for multivalued attributes.

Represent the PROPERTY entity and its purchase offer attributes using two entity types.

Finally, assume the agency decides to also keep data about buyers and potential buyers, including their name, phone number, and address. Augment your answer to part b above to accommodate this new entity type.

19

20

a.

20

21

b.

21

22

c.

22

23

CA - Draw a ER diagram for the following

23

24

ERD – customer order

24

PERSON

Is_Married

_to

Date_Married

PERSON

Married

Date_Married

PROPERTY

Offer_Date, Offer_Price

Offer_Name

Property_No

OFFER

Property_No

PROPERTY

Offer_No

Offer_Date

Offer_Price

Offer_Name

OFFER

Property_No

PROPERTY

Offer_No

Offer_Date

Offer_Price

OFFER

Property_No

PROPERTY

Offer_No

Offer_Date

Offer_Price

POTENTIAL_

BUYER

Buyer_No

Phone_No

Address

Name

PRODUCT

CUSTOMER

ORDER

Places

Includes

Name

Customer_No

Street_Address

City

State

Zip

Order_No

Order_Date

Promise_Date

Quantity

Product_No

Description

Unit_

Price