연습3

테이블 (3)

FAMILY (Untitled2)

  • classID (Key) — integer(3) — 기본 키 — NOT NULL
  • classID (Key2) — integer — 외래 키 → MEMBER.classID — NOT NULL
  • classID (Key22) — integer — 외래 키 → MEMBER.classID — NOT NULL
  • className (Field) — char(30)
  • age (Field2) — integer

MEMBER (Untitled)

  • classID (Key) — integer — 기본 키 — NOT NULL
  • classID (Key2) — integer — 외래 키 → SERVICE.classID — NOT NULL
  • className (Field) — char(7)
  • address (Field2) — char(10)
  • phone (Field3) — integer(9)

SERVICE (Untitled3)

  • classID (Key) — integer — 기본 키 — NOT NULL
  • Name (Field) — char(50)
  • address (Field2) — char(5)
  • phone (Field3) — integer(14)