Student

테이블 (4)

Untitled (subject)

  • Key (subject_no) — char(4) — 기본 키
  • Key (porfessor_no) — char(4) — 외래 키 → peofessor.Key — NOT NULL
  • Field (porofessor_name) — varchar(30)

Untitled (lecture)

  • Key (lecture_no) — int — 기본 키
  • Key (subject_no) — char(4) — 외래 키 → Untitled.Key — NOT NULL
  • Key (porfessor_no) — char(4) — 외래 키 → Untitled.Key — NOT NULL

peofessor

  • Key (porfessor_no) — char(4) — 기본 키
  • 학과번호 (major_no) — char(4) — 외래 키 → 학과.학과번호 — NOT NULL
  • Field (porofessor_name) — varchar(30)

학과 (major)

  • 학과번호 (major_no) — char(4) — 기본 키
  • 학과명 (major_name) — varchar(30)