과일가게

테이블 (3)

과일가게 이름 (store_info)

  • 가게 Id (store_id) — notnull — 기본 키 — NOT NULL
  • 가게 명 (store_name) — notnull
  • 주소 (store_address) — nounu;;
  • 대표 번호 (store_call) — notnull
  • 대표자 명 (ceo_name) — notnull
  • 우편번호 (post_number) — notnull

메뉴판 (menu_board)

  • 과일명 (fruits_name) — notnull — 기본 키
  • 가격 (fruits_price) — notnull
  • 가게 Id (store_id) — notnull — 외래 키 → 과일가게 이름.가게 Id — NOT NULL
  • 원산지 (fruits_region) — notnull

재고 (stock)

  • 과일 ID (fruits_id) — notnull — 기본 키
  • 재고량 (fruits_stock) — notnull
  • 입고일 (input_date) — notnull
  • 유통기한 (end_date) — notnull
  • 과일명 (fruits_name) — notnull — 외래 키 → 메뉴판.과일명
  • 과일명 (fruits_name2) — notnull — 외래 키 → 메뉴판.과일명