F1FanForum

Tables (6)

Board (게시글)

  • board_id (글 id) — Primary key — NOT NULL
  • user_id (유저id) — Foreign key → User.user_id — NOT NULL
  • title (제목)
  • content (내용)
  • reg_date (등록일)
  • view_cnt (조회수)
  • like (좋아요 수)

Driver (드라이버)

  • driver_id (드라이버 id) — Primary key — NOT NULL
  • team_id (팀 id) — Foreign key → Team.team_id — NOT NULL
  • name (드라이버 이름)
  • nationality (국적)

Result (선수별 경기 결과)

  • result_id (결과 id) — Primary key — NOT NULL
  • round (라운드 번호2) — Foreign key → Schedule.round — NOT NULL
  • season (시즌 번호2) — Foreign key → Schedule.season — NOT NULL
  • driver_id (드라이버 id) — Foreign key → Driver.driver_id — NOT NULL
  • team_id (팀 id) — Foreign key → Driver.team_id — NOT NULL
  • driver_id (드라이버 번호(fk))
  • position (순위)
  • point (포인트)
  • status (특이상태(DNF등))
  • start_position (시작 포지션)
  • Field

Schedule (경기 일정)

  • round (라운드 번호) — Primary key — NOT NULL
  • season (시즌 번호) — Primary key — NOT NULL
  • grandprix (그랑프리명)
  • grandprix_date (날짜)
  • continent (대륙)
  • nation (국가)
  • city (도시)
  • curcuit (서킷명)
  • p1_time (p1 시간)
  • p2_time (p2 시간)
  • p3_time (p3 시간)
  • quali_time (퀄리파잉 시간)
  • race_time (레이스 시간)

Team (팀 정보)

  • team_id (팀 id) — Primary key — NOT NULL
  • team_name (팀 이름)
  • team_chief (팀 수석)

User (회원)

  • user_id (유저id) — Primary key — NOT NULL
  • password (비밀번호)
  • name (이름)
  • nickname (닉네임)
  • reg_date (가입일)