SLIS_DB_ex02

Tables (4)

Untitled (Activity)

  • Key (actCode) — int(2) — Primary key — NOT NULL
  • Field (actName) — char(15)
  • Field (description) — text

Untitled (Class)

  • Key (classNo) — int(3) — Primary key — NOT NULL
  • Key (actCode) — int(5) — Foreign key → Untitled.Key — NOT NULL
  • Field (className) — char(15)
  • Field (classHour) — time
  • Field (regMax) — int(2)
  • Field (regActual) — int(2)

Untitled (Member)

  • Key (memId) — int(5) — Primary key — NOT NULL
  • Field (memName) — char(15)
  • Field (address) — varchar(50)
  • Field (gender) — char(1)
  • Field (phone) — int(15)

Untitled (Enrollment)

  • Key (classNo) — int(3) — Foreign key → Untitled.Key — NOT NULL
  • Key (actCode) — int(5) — Foreign key → Untitled.Key — NOT NULL
  • Key (memId) — int(5) — Foreign key → Untitled.Key — NOT NULL
  • Field (level) — char(1)
  • Field (regStartDate) — date
  • Field (regEndDate) — date