erd진짜

테이블 (3)

curriculum

  • curri_no — bigint — 카테고리 no
  • curri_name — varchar(50) — NOT NULL — 카테고리 이름
  • success — boolean — 수강완료여부

depth1

  • depth1_no — bigint — 강의 no
  • depth1_name — varchar(50) — NOT NULL — 강의 이름
  • curri_no — bigint — 외래 키 → curriculum.curri_no — NOT NULL — 카테고리 no

depth2

  • depth2_no — bigint — 강의 no
  • depth2_name — varchar(50) — NOT NULL — 강좌 이름
  • depth2_time — bigint — NOT NULL — 동영상 시간
  • curri_no — bigint — 외래 키 → curriculum.curri_no — NOT NULL — 카테고리 no
  • depth1_no — bigint — 외래 키 → depth1.depth1_no — NOT NULL — 강의 no