중간고사예제6book

테이블 (4)

Untitled (KDC)

  • Key — 기본 키 — NOT NULL

Untitled (CONTRACT)

  • Key (contractID) — char(100) — 기본 키 — NOT NULL
  • Field (ISBN) — int(13)
  • Field (printerID) — char(10)
  • Field (quantity) — int(10)
  • Field (price) — int(15)
  • Field (deadline) — date
  • Field (contractDate) — date

Untitled (PRINTER)

  • Key (printerID) — char(10) — 기본 키 — NOT NULL
  • Field (printerName) — char(20)
  • Field (address) — char(30)
  • Field (phone) — int(11)
  • Field (fax) — int(11)
  • Field (description) — longtext
  • Field (capacity) — int(10)

Untitled2 (BOOK)

  • Key (ISBN) — int(13) — 기본 키 — NOT NULL
  • Field (title) — char(50)
  • Field (pubDate) — date
  • Field (pageNumber) — int(4)
  • Field (edition) — int(3)
  • Field (price) — int(10)
  • Field (KDC) — char(20)