1 Basic Symbols. 2 Student Entity type using E-R notation.
-
Upload
luke-marsh -
Category
Documents
-
view
219 -
download
0
Transcript of 1 Basic Symbols. 2 Student Entity type using E-R notation.
7
CA
Consider the Is_married_to unary relationship 1. Assume we want to know the date on which a marriage
occurred. Augment this ER diagram to include a Date_married attribute.
2. 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.
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.a. Represent the PROPERTY entity and its purchase offer attributes
using the notation for multivalued attributes.
b. Represent the PROPERTY entity and its purchase offer attributes using two entity types.
c. 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.
22
c.
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