test

Tables (5)

buy (Untitled4)

  • 아이디 (ID) — not null — Primary key — NOT NULL
  • 매장번호 (store_num) — not null — Primary key — NOT NULL
  • 구매번호 (buy_num) — not null — Primary key — NOT NULL
  • 구매일련번호 (buy_seq) — not null — Primary key — NOT NULL
  • 메뉴 (menu_name) — not null
  • 가격 (cost) — not null
  • 등록날짜 (regdate) — not null
  • 수정날짜 (updatedate) — not null
  • 아이디 (ID2) — not null — Foreign key → customer.아이디 — NOT NULL
  • 매장번호 (store_num2) — not null — Foreign key → store.매장번호 — NOT NULL

customer (Untitled3)

  • 아이디 (ID) — not null — Primary key — NOT NULL
  • 이름 (name) — not null
  • 나이 (age) — not null
  • 성별 (gender) — not null
  • 전화번호 (phone) — not null
  • 등록날짜 (regdate) — not null
  • 수정날짜 (updatedate) — not null

like (Untitled5)

  • 아이디 (ID2) — not null — Foreign key → customer.아이디 — NOT NULL
  • 매장번호 (store_num) — not null — Foreign key → store.매장번호 — NOT NULL
  • 메뉴일련번호 (menu_seq) — not null
  • 등급 (grade) — not ull
  • 등록날짜 (regdate) — not null
  • 수정날짜 (updatedate) — not null

menu (Untitled2)

  • 매장번호 (store_num) — not null — Primary key — NOT NULL
  • 메뉴일련번호 (menu_seq) — not null — Primary key — NOT NULL
  • 메뉴이름 (menu_name) — not null
  • 가격 (cost) — not null
  • 등록날짜 (regdate) — not null
  • 수정날짜 (updatedate) — not null
  • 매장번호 (store_num2) — not null — Foreign key → store.매장번호 — NOT NULL

store (Untitled)

  • 매장번호 (store_num) — not null — Primary key — NOT NULL
  • 매장이름 (name) — not null
  • 음식 장르 (food) — not null
  • 전화번호 (phone) — not null
  • 영업시작시간 (start_time) — not null
  • 영업마감시간 (end_time) — not null
  • 등록날짜 (regdate) — not null
  • 수정날짜 (updatedate) — not null