중간고사

테이블 (6)

Untitled (책)

  • Key (책ID) — int — 기본 키 — NOT NULL
  • Field (서명) — text
  • Field (출판일자) — date
  • Field (제목) — char(50)
  • Field (KDC) — int
  • Field (ISBN) — int

Untitled (출판사)

  • Key (ID) — char(10) — 기본 키 — NOT NULL
  • Field (명칭) — char(30)
  • Field (주소) — text
  • Field (전화번호) — int
  • Field
  • Key (ID2) — int — 외래 키 → Untitled.Key — NOT NULL

Untitled (저자)

  • Key (저자ID) — char(10) — 기본 키 — NOT NULL
  • Field (이름) — cahr(10)
  • Field (대표작) — text
  • Field (주소) — text
  • Field (전화번호) — int
  • Key (책ID) — int — 외래 키 → Untitled.Key — NOT NULL

Untitled (인쇄소)

  • Key (인쇄소ID) — char(10) — 기본 키 — NOT NULL
  • Field (명칭) — char(30)
  • Field (주소) — text
  • Field (계약정보) — text

Untitled (주제)

  • Key (KDC분류번호) — int — 기본 키 — NOT NULL
  • Field (키워드) — text
  • Key (책ID) — int — 외래 키 → Untitled.Key — NOT NULL

Untitled (계약)

  • Key (계약ID) — int — 기본 키 — NOT NULL
  • Field (인쇄권수) — int
  • Field2 (인쇄마감일) — date
  • Key (인쇄소ID) — char(10) — 외래 키 → Untitled.Key — NOT NULL
  • Key (ID2) — char(10) — 외래 키 → Untitled.Key — NOT NULL