숙제5.7

테이블 (4)

Part (Untitled)

  • partId (Key2) — 외래 키 → ProductPart.partId — NOT NULL
  • description (Field)
  • supplierId (Key) — 외래 키 → Supplier.supplierId — NOT NULL

Product

  • productId (Key) — 기본 키 — NOT NULL
  • description (Field)
  • price (Field2)

ProductPart

  • partId (Key2) — 기본 키 — NOT NULL
  • productId (Key3) — 외래 키 → Product.productId — NOT NULL
  • quantity (Field)

Supplier (Untitled2)

  • supplierId (Key) — 기본 키 — NOT NULL
  • name (Field)
  • address (Field2)
  • phone (Field3)