AI solution

Tables (5)

Contents (기초내용)

  • content_id (기초 내용 아이디) — Primary key — NOT NULL
  • content_text (내용) — Text
  • chapter (단원)

Question_Options (객관식 보기)

  • option_id (보기 아이디) — Int — Primary key — NOT NULL
  • question_id (기출문제 아이디) — Int — Foreign key → Questions.question_id — NOT NULL
  • option_text (객관식 보기 답안) — VARCHAR(1000)
  • display_order (보기 순서) — int
  • is_correct (답안 확인) — char(1)

Questions (기출문제)

  • question_id (기출문제 아이디) — Int — Primary key — NOT NULL
  • question_text (기출문제 문제) — Text
  • answer (기출문제 답안) — VARCHAR(255)
  • explanation (해설) — Text

Questions-Contents_link (기출문제-기초내용 링크 테이블)

  • link_id (링크 아이디) — Primary key — NOT NULL
  • question_id (기출문제 아이디)
  • content_id (기초내용 아이디)

Subject (자격증)

  • Key — Primary key — NOT NULL