restaurantERD

테이블 (3)

고객 (tbl_customer)

  • 고객번호 (cnum) — not null — 기본 키 — NOT NULL
  • 고객아이디 (cid) — not null
  • 고객패스워드 (cpassword) — not null
  • 선호 업종1 (cmenucategory1) — not null
  • 선호 업종2 (cmenucategory2) — not null

식당 (tbl_restaurant)

  • 식당번호 (rsnum) — not null — 기본 키 — NOT NULL
  • 식당이름 (rsname) — not null
  • 주소 (rsaddress) — not null
  • 업종 (rscategory) — not null
  • 대표메뉴 (rsmenu) — not null
  • 전화번호 (rscall) — not null
  • 별점 (rsstar) — not null

예약 (tbl_reservation)

  • 예약번호 (resernum) — not null — 기본 키 — NOT NULL
  • 식당번호 (renum) — not null
  • 예약 일 (redate) — not null
  • 예약 시간 (redatetime) — not null
  • 예약 인원 (repeoplenum) — not null
  • 고객 전화 (recall) — not null