DOC PREVIEW
UW CSE 444 - Entity Relationship Diagrams

This preview shows page 1-2-3 out of 10 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 10 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 10 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 10 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 10 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

Entity / Relationship DiagramsMulti-way RelationshipsRoles in RelationshipsSlide 5Attributes on RelationshipsDesign PrinciplesWhat’s Wrong?Slide 9Do we really need 3-way relationships?Entity / Relationship DiagramsObjects entitiesClasses entity setsAttributes are like in ODL.Relationships: like in ODL except - not associated with classes (I.e., first class citizens) - not necessarily binaryProductaddressbuysaddressname ssnPersonbuysmakesemploysCompanyProductname categorystockpricenamepriceMulti-way RelationshipsPurchaseHow do we model a purchase relationship between buyers,products and stores?ProductPersonStoreRoles in RelationshipsPurchaseWhat if we need an entity set twice in one relationship?ProductPersonStoresalespersonbuyerRoles in RelationshipsPurchaseProductPersonStoresalespersonbuyerNote the multiplicity of the relationships: we cannot express all possibilitiesAttributes on RelationshipsPurchaseProductPersonStoredateDesign PrinciplesPurchaseProductPersonWhat’s wrong?PresidentPersonCountryMoral: be faithful!What’s Wrong?PurchaseProductStoredatepersonpersonAddrMoral: don’t talk too much.What’s Wrong?PurchaseProductPersonStoredateDatesMoral: don’t complicate life more than it already is.Do we really need 3-way relationships?PurchasePersonStoreProductStoreOfProductOfBuyerOfMoral: Find a nice way to say


View Full Document

UW CSE 444 - Entity Relationship Diagrams

Documents in this Course
XML

XML

48 pages

SQL

SQL

25 pages

SQL

SQL

42 pages

Recovery

Recovery

30 pages

SQL

SQL

36 pages

Indexes

Indexes

35 pages

Security

Security

36 pages

Wrap-up

Wrap-up

6 pages

SQL

SQL

37 pages

More SQL

More SQL

48 pages

SQL

SQL

35 pages

XML

XML

46 pages

Triggers

Triggers

26 pages

Load more
Download Entity Relationship Diagrams
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Entity Relationship Diagrams and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Entity Relationship Diagrams 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?