SSAFY

Tables (6)

TA

  • 코치 사번 (assistant_id) — int — Primary key — NOT NULL
  • 담당업무 (content) — LONGTEXT

belong

  • index (belong_id) — int — Primary key — NOT NULL
  • 컨설턴트 사번 (consultant_id) — int — Foreign key → consultant.컨설턴트 사번 — NOT NULL
  • 코치 사번 (assistant_id) — int — Foreign key → TA.코치 사번
  • 지역 (region) — varchar(20)
  • 반 (class) — varchar(2)

consultant

  • 컨설턴트 사번 (consultant_id) — int — Primary key — NOT NULL
  • 담당업무 (content) — LONGTEXT

education process

  • 교육과정 분류넘버 (course_id) — int — Primary key — NOT NULL
  • 교육과정 이름 (course_name)

generation

  • 기수 (year_of_ssafy) — int — Primary key — NOT NULL
  • 교육과정 분류넘버 (course_id) — int — Foreign key → education process.교육과정 분류넘버 — NOT NULL

student

  • 학번 (student_id) — int — Primary key — NOT NULL
  • 소속 (belong_id) — int — Foreign key → belong.index — NOT NULL
  • 사번 (consultant_id) — int — Foreign key → belong.컨설턴트 사번 — NOT NULL
  • 사번 (assistant_id) — int — Foreign key → belong.코치 사번 — NOT NULL
  • 기수 (year_of_ssafy) — int — Foreign key → generation.기수 — NOT NULL
  • 교육과정 분류넘버 (course_id) — int — Foreign key → generation.교육과정 분류넘버 — NOT NULL
  • 이름 (student_name) — varchar(5)
  • 전공여부 (major) — varchar(3)
  • 퇴소여부 (leave) — varchar(3)