Entity-Relationship Diagram (ERD)
Sơ đồ thực thể – mối quan hệ (ERD)
Visualise & Explore
· Trực quan hóa & Tương tácThe Entity-Relationship Diagram (ERD)
Sơ đồ Thực thể – Mối quan hệ (ERD)
Model the real world as entities and relationships before building tables (P1 · Page 53).
Mô hình hóa thế giới thực bằng thực thể và quan hệ trước khi thiết kế bảng (P1 · Trang 53).
Entity-Relationship Topology
Entity Relationships & Cardinality
- CUSTOMER1 : NORDER
places — one customer places many orders
đặt hàng — một khách hàng đặt nhiều đơn
- WAREHOUSE1 : NSHIPMENT
ships — one warehouse dispatches many shipments
gửi hàng — một kho xuất nhiều lô hàng
- ORDERUnverified (cropped)SHIPMENT
grouped i... (label & cardinality partially obscured at right box edge on P1 p. 53)
gom nhóm (nhãn bị che một phần trên P1 tr. 53 nên chưa khẳng định cardinality)
CUSTOMER (1) places ORDER (N); WAREHOUSE (1) ships SHIPMENT (N); ORDER <-> SHIPMENT relationship ("grouped i..." partially cropped on P1 p. 53 so exact cardinality is not asserted).
Understand
· Giải thích khái niệmModel real-world entities and relationships before creating tables. An entity is an object whose data must be stored; connecting lines represent relationships; 1 and N denote cardinality. A customer places many orders; a warehouse sends many shipments. ORDER and SHIPMENT are also linked through grouping orders into shipments. The relationship label is partly obscured in the source, so its unreadable cardinality is not asserted. Design the ERD before building tables.
The two readable relationships are CUSTOMER places ORDER (1:N) and WAREHOUSE ships SHIPMENT (1:N). The grouping relationship is shown between ORDER and SHIPMENT, but its cardinality is obscured.