2024_1_example02

Tables (4)

MEMBER

  • Key (memID) — char(10) — Primary key — NOT NULL
  • Field (name) — char(10)
  • Field (birthday) — date
  • Field (address) — char(10)
  • Field (phone) — int(11)

Untitled (CLASS)

  • Key (claID) — chat(5) — Primary key — NOT NULL
  • Key (actID) — chat(5) — Foreign key → Untitled.Key — NOT NULL
  • Field (name) — char(10)
  • Field (time) — char(5)
  • Field (maxReri) — int(3)
  • Field (level) — int(4)

Untitled (ACTIVITY)

  • Key (actID) — chat(5) — Primary key — NOT NULL
  • Field (name) — chat(10)
  • Field (discription) — text

Untitled (MEM_CLA)

  • Key (memID) — char(10) — Foreign key → MEMBER.Key — NOT NULL
  • Key (claID) — Foreign key → Untitled.Key — NOT NULL
  • Key (actID) — chat(5) — Foreign key → Untitled.Key — NOT NULL