kbo_who_are_ya

테이블 (4)

구단 (team)

  • 구단고유아이디 (team_id) — Int — 기본 키 — NOT NULL
  • 구단명 (team_name) — Varchar

선수DB (player)

  • 선수고유아이디 (player_id) — Long — 기본 키 — NOT NULL
  • 구단고유아이디 (team_id) — Int — 외래 키 → 구단.구단고유아이디 — NOT NULL
  • 선수 이름 (name) — Varchar
  • 포지션아이디 (position_id) — Int — 외래 키 → 포지션.포지션아이디 — NOT NULL
  • 생년월일 (birth_date) — Date
  • 선수유형 (player_type) — Varchar
  • 키 (height) — int

선수프로필사진 (player_profile)

  • 프로필아이디 (profile_id) — Long — 기본 키 — NOT NULL
  • 선수고유아이디 (player_id) — Long — 외래 키 → 선수DB.선수고유아이디 — NOT NULL
  • 파일정보 (file_path) — Varchar

포지션 (position)

  • 포지션아이디 (position_id) — Int — 기본 키 — NOT NULL
  • 포지션 명 (position_name) — Varchar