150 likes | 363 Views
Entity Relationship Diagrams (ERDs). Entity Relationship Diagram (ERD). documentation technique to represent relationship between entities in system . Depends on business rules !!. Cardinality. represents the numerical mapping between entities: one-to-one one-to-many many-to-many.
E N D
Entity Relationship Diagram (ERD) documentation technique to represent relationship between entitiesin system.
Depends on business rules !! Cardinality • represents the numerical mapping between entities: • one-to-one • one-to-many • many-to-many
Cardinalities Entity Relationship Entity 1 1 Sales- person Car is assigned Customer Company A
Cardinalities Entity Relationship Entity 1 M Sales- person Car is assigned Company B Customer
Cardinalities Entity Relationship Entity 1 M places Order Customer
Cardinalities Entity Relationship Entity M M Vendor Inventory supplies
Describe the business rules represented by the cardinalities in the ERD. VENDOR 1 1 M M P.O. M INVENTORY M 1 M M REC. RPT. 1
Add 3 attributes for each entity. VENDOR 1 1 M M P.O. M INVENTORY M 1 M M REC. RPT. 1
3 attributes for each entity. VENDOR 1 M 1 M P.O. M INVENTORY M 1 M M REC. RPT. 1
Modify the ERD, based on the following information: 1 The Vendor sends an invoice for each shipment.The invoice is matched tothe RR; a Cash Disbursement (CD) is prepared for each invoice. VENDOR 1 M M M P.O. M INVENTORY 1 M M 1 REC. RPT. 12
VENDOR 1 1 M M P.O. M INVENTORY M 1 M M REC. RPT. 1
Add 3 attributes for each new entity. VENDOR 1 1 M M P.O. M INVENTORY M 1 M M REC. RPT. 1