exercise7-배미연

테이블 (4)

Project (Untitled)

  • Project ID (Key) — char(10) — 기본 키 — NOT NULL
  • ID (Key2) — char(5) — 외래 키 → Project_Manger.ID — NOT NULL
  • Field

Project_Manger (Untitled2)

  • ID (Key) — char(5) — 기본 키 — NOT NULL
  • Name (Field) — char(30)
  • Field2

Subcontract (Untitled3)

  • Code (Key) — char(5) — 기본 키 — NOT NULL
  • Work (Field) — type
  • Field2
  • Project ID (Key2) — char(10) — 외래 키 → Project.Project ID — NOT NULL
  • ID (Key22) — char(5) — 외래 키 → Project.ID — NOT NULL

loan (Untitled4)

  • LoanID (Key) — char(10) — 기본 키 — NOT NULL
  • Project ID (Key2) — char(10) — 외래 키 → Project.Project ID — NOT NULL
  • ID (Key22) — char(5) — 외래 키 → Project.ID — NOT NULL
  • Amount (Field) — int
  • Payment (Field2) — int(10)
  • Field3