Presentation is loading. Please wait.

Presentation is loading. Please wait.

ERD For a full discussion and more examples please consult: fallforum2003/ERD_final.doc.

Similar presentations


Presentation on theme: "ERD For a full discussion and more examples please consult: fallforum2003/ERD_final.doc."— Presentation transcript:

1 ERD For a full discussion and more examples please consult: http://www.library.cornell.edu/cts/elicensestudy/dlfdeliverables/ fallforum2003/ERD_final.doc Also search the WWW for more resources on ERD

2 Entities So far, no relationship between students and schools has been indicated.

3 Relationships now? Read the first relationship definition, “attends,” when tracing the relationship left to right or top to bottom. Read the second definition, “enrolls,” when tracing the relationship right to left or bottom to top

4 A little more descriptive…Optionality and Cardinality “Optionality” expresses whether the relationship is optional or mandatory. “Cardinality” expresses the maximum number of relationships. (first the optional aspect of the relationship, second the cardinal aspect)

5 What’s happening here?

6 What’s happening here… a supplier may provide many different products, and each type of product may be offered by many suppliers

7 Brain Teaser…? Is this possible?

8 Brain Teaser…? Recursive Relationship Is this possible? Yes… how? The diagram indicates that a person may be the father of zero or many persons (children), and that a person may have zero or one father. (Not every person’s father will be recorded in the system, so the relationship is modeled as optional).

9 How about this one…?

10 How about this one…? Exclusive-Or Relationship Each convict is assigned to a prison, or to a parole officer, but not both


Download ppt "ERD For a full discussion and more examples please consult: fallforum2003/ERD_final.doc."

Similar presentations


Ads by Google