1 / 12

Extended E-R Model: Basic Symbols

Extended E-R Model: Basic Symbols. Strong Entity Set. Associative Entity Set. Weak Entity Set. Attribute. Association Relationship Set. Multi-Valued Attribute. Identifying Relationship Set. Derived attribute. Extended E-R: Relationship Cardinality. Mandatory One. Mandatory Many.

georgette
Download Presentation

Extended E-R Model: Basic Symbols

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Extended E-R Model: Basic Symbols Strong Entity Set Associative Entity Set Weak Entity Set Attribute Association Relationship Set Multi-Valued Attribute Identifying Relationship Set Derived attribute

  2. Extended E-R: Relationship Cardinality Mandatory One Mandatory Many Optional One Optional Many

  3. Relationship Set: Cardinality Maximum Cardinality forOffering Maximum Cardinality for Course Course Has Offering (1:1) (0:N) Course-NO C-Des Credit-Hour Offer-NO Off-Location Off-Time Minimum Cardinality for Offering Minimum Cardinality for Course

  4. EMPLYEE 1: One M: Many DEPARTMENT Works-for 1 M Works-for EMPLOYEE DEPARTMENT Many One Graphical Notations for Cardinality : One EMPLOYEE DEPARTMENT Works-for : Many : One : Many EMPLOYEE DEPARTMENT Works-for

  5. ER Diagram: An Example Sends SUPPLIER Supplies CUSTOMER Includes SHIPMENT ITEM Submits KEY Relationship Used_in Entity Cardinalities Mandatory One Requests PRODUCT ORDER Mandatory Many Optional One Optional Many

  6. DEPENDENT Has EMPLOYEE Weak Entity: An Example Last_Name First_Name Middle_Initial Date_of_Birth Employee_Name Employee_ID Dependent_Name

  7. Unary Relationship: Examples Marries PERSON One-to-one Manages EMPLOYEE One-to-many

  8. Binary Relationship: Examples EMPLOYEE Assigns PARKING PLACE One-to-One PRODUCT LINE Contains PRODUCT One-to-Many • STUDENT Registers_for COURSE Many-to-Many

  9. PART Supplies VENDOR WAREHOUSE Unit_cost Shipping_mode Ternary Relationships: Example

  10. Address City Postal_Code Street_Address State Composite Attribute DB Design Question: Should we model address as a simple or composite attribute?

  11. Employee_Name Employee_ID Address Years_Employed Skill EMPLOYEE Date_Employed Multi-Valued versus Derived Attribute

  12. Specialization/Generalization Relationships: Disjointness and Completeness Constraints PERSON Overlapping andPartialCoverage IS-A (O,P) DOCTOR PATIENT Disjoint and TotalCoverage IS-A (D,T) IN-PATIENT OUT-PATIENT

More Related