푸드코트

테이블 (5)

고객 (Untitled)

  • custid (Key) — 기본 키 — NOT NULL
  • name (Field)
  • phone (Field2)

고객주문 (Untitled3)

  • id (Key) — 기본 키 — NOT NULL
  • custid (Key2) — 외래 키 → 고객.custid — NOT NULL
  • menuId (Key4) — 외래 키 → 메뉴.menuId — NOT NULL
  • orderId (Key3) — 외래 키 → 주문.orderId — NOT NULL

메뉴 (Untitled5)

  • menuId (Key) — 기본 키 — NOT NULL
  • name (Field)
  • price (Field2)
  • cornerId (Key2) — 외래 키 → 코너.cornerId — NOT NULL

주문 (Untitled2)

  • orderId (Key) — 기본 키 — NOT NULL
  • quantity (Field2)
  • order_status (Field)
  • order_date (Field3)

코너 (Untitled4)

  • cornerId (Key) — 기본 키 — NOT NULL
  • name (Field)
  • create_date (Field2)