1 / 12

Entity-Relationship Modeling

Entity-Relationship Modeling. ER. Graphical modeling technique Informal, understandable for laymen Coarse technique to design tables Provides rules of thumb for mapping to table structures. Entities and attributes. Relations (associations). Recursive relations. With roles. Weak entities.

primo
Download Presentation

Entity-Relationship Modeling

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. Entity-RelationshipModeling

  2. ER • Graphical modeling technique • Informal, understandable for laymen • Coarse technique to design tables • Provides rules of thumb for mapping to table structures

  3. Entities and attributes

  4. Relations (associations)

  5. Recursive relations With roles

  6. Weak entities

  7. ISA-hierarchy

  8. Cardinality & optionality (0,n) (1,1) optional mandatory

  9. ERD -> relational schema

  10. ERD -> relational schema Solution 1 E1 (K1, A1, …, Am, K2) E2 (K2, B1, …, Bn) Solution 2 E1 (K1, A1, …, Am) E2 (K2, B1, …, Bn, K1)

  11. ERD -> relational schema Solution 3 E1 (K1, A1, …, Am, K2) E2 (K2, B1, …, Bn, K1)

  12. ERD -> relational schema Solution 4 E1 (K1, A1, …, Am) E2 (K2, B1, …, Bn) R (K1, K2)

More Related