Documenting Entity Relationship Diagram (Data Modeling)
Documenting Entity Relationship Diagram (Data Modeling)
Documenting Entity Relationship Diagram (Data Modeling)
Modeling)
Data model:
• Provides detail information to be stored
• Is of primary use when the final product is the
generation of computer software for an
application.
• Is an abstract model that documents and
organizes the business data for
communication between team members
• Is used as a plan for developing applications,
specifically how data are stored and accessed.
Cont …
Composite
Multi-valued
Derived
• Primary key
– In ERD PK is represented by underlined attribute
Example:
• Relationship: d/t types
– Represented in ERD by diamonds,
named as verbs
Weak
• Example: develop ERD for Student and Employee
Develop ERD for the
following related entities.
Include all the necessary
attributes and specify their
relationships
Customer, Order, Item, Seller
Exercise
• Think of a database, identify 3 related entities,
their attributes and relationships