과제 1

테이블 (5)

part

  • partID — int(10) — 기본 키
  • PARTExplain — text
  • productID — int(30) — 외래 키 → product.productID
  • producerID — int(10) — 외래 키 → producer.producerID

part&producer

  • producerID (producerID2) — int(10) — 외래 키 → producer.producerID
  • partID (partID2) — int(10) — 외래 키 → part.partID
  • producerID — INT(10)
  • partID — int(10)

partUse

  • partQuantity — int(10)
  • partID — int(10)
  • partID (partID2) — int(10) — 외래 키 → part.partID

producer

  • producerID — int(10) — 기본 키
  • producerName — text
  • producerAddress — text
  • producerPhone — int(11)
  • partID — int(10) — 외래 키 → part.partID

product

  • productID — int(30) — 기본 키
  • productExplain — text
  • productPrice — int(10)
  • productInf — text