carDealership

테이블 (8)

Untitled (invoice)

  • Key (invoiceID) — 기본 키 — NOT NULL
  • 판매원 ID (salespersonID) — 외래 키 → 판매원.판매원 ID — NOT NULL
  • Key (customorID) — 외래 키 → Untitled4.Key — NOT NULL

Untitled2 (Mechanic)

  • Key (mechanicID) — 기본 키 — NOT NULL
  • 판매점 ID (dealershipID) — 외래 키 → 판매점.판매점 ID — NOT NULL

Untitled3 (car)

    Untitled4 (customer)

    • Key (customorID) — 기본 키 — NOT NULL

    Untitled5

      Untitled6

        판매원 (SalesPerson)

        • 판매원 ID (salespersonID) — 기본 키 — NOT NULL
        • 판매점 ID (dealershipID) — 외래 키 → 판매점.판매점 ID — NOT NULL

        판매점 (dealership)

        • 판매점 ID (dealershipID) — 기본 키 — NOT NULL