Skip to main content
Back to Learning PathSession 03 — Databases & Data Management

Topic 3.2 · Relational Database ModelConcept 04 of 12

3.2 · Relational Database ModelConcept 04/12
Source: P1 · p. 53

Entity-Relationship Diagram (ERD)

Sơ đồ thực thể – mối quan hệ (ERD)

Visualise & Explore

· Trực quan hóa & Tương tác

The 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).

Source: P1 · p. 53

Entity-Relationship Topology

CUSTOMER1 : NORDERplaces — one customer places many orders
WAREHOUSE1 : NSHIPMENTships — one warehouse dispatches many shipments
ORDERUnverified (cropped)SHIPMENTgrouped i... (label & cardinality partially obscured at right box edge on P1 p. 53)

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)

Source graphic note (P1 · Page 53): On P1 slide p. 53, the vertical label between ORDER and SHIPMENT reads "grouped i..." behind the right explanation box; unread cardinality is marked unverified rather than guessed.Trên slide P1 tr. 53, nhãn nối dọc giữa ORDER và SHIPMENT bị hộp chữ bên phải che còn "grouped i..."; phần bị khuất được đánh dấu chưa xác minh thay vì suy đoán.

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ệm