Exe2 복습

테이블 (4)

ENROLL (Untitled)

  • Key (ClassID) — int(10) — 외래 키 → Untitled.Key — NOT NULL
  • Key (ActivityID) — int(10) — 외래 키 → Untitled.Key — NOT NULL
  • Key (memberName) — char(20) — 외래 키 → Untitled.Key — NOT NULL

Untitled (Members)

  • Key (memberName) — char(20) — 기본 키 — NOT NULL
  • Field (memberADD) — text
  • Field (memberAge) — int(2)
  • Field (Level) — int(2)

Untitled (Activity)

  • Key (ActivityID) — int(10) — 기본 키 — NOT NULL
  • Field (ActivityName) — char(20)
  • Field (ActivityDes) — longtext

Untitled (Class)

  • Key (ClassID) — int(10) — 기본 키 — NOT NULL
  • Key (ActivityID) — int(10) — 외래 키 → Untitled.Key — NOT NULL
  • Field (ClassNumber) — int(10)
  • Field (ClassTime) — int(10)
  • Field (Level) — int(2)