homework

테이블 (6)

고객관리 (Untitled5)

  • Key — 기본 키 — NOT NULL
  • point_id (Key2) — 외래 키 → 지점별 편의점.store — NOT NULL
  • store (Key22) — 외래 키 → 지점별 편의점.point_id — NOT NULL
  • customer (Field)
  • vip (Field2)

본사 (Untitled)

  • point_id (Key) — 기본 키 — NOT NULL
  • (Field)
  • Field2
  • Field3
  • Field4
  • Field5
  • Field6
  • Field7
  • Field8

재고관리 (Untitled4)

  • Key — 기본 키 — NOT NULL
  • point_id (Key2) — 외래 키 → 지점별 편의점.store — NOT NULL
  • store (Key22) — 외래 키 → 지점별 편의점.point_id — NOT NULL
  • inventory (Field)
  • stock_items (Field2)
  • items_count (Field3)

지점별 편의점 (Untitled2)

  • store (Key) — 기본 키 — NOT NULL
  • point_id (Key2) — 외래 키 → 본사.point_id — NOT NULL
  • (Field)
  • sale (Field2)
  • inventory (Field3)
  • customer (Field4)
  • Field5
  • Field6

지점별 편의점 (Untitled6)

  • store (Key) — 기본 키 — NOT NULL
  • point_id (Key2) — 외래 키 → 본사.point_id — NOT NULL
  • point_id (Field)
  • sale (Field2)
  • inventory (Field3)
  • custormer (Field4)
  • Field5
  • Field6

판매관리 (Untitled3)

  • Key — 기본 키 — NOT NULL
  • point_id (Key2) — 외래 키 → 지점별 편의점.store — NOT NULL
  • store (Key22) — 외래 키 → 지점별 편의점.point_id — NOT NULL
  • sale (Field)
  • sell_items (Field2)
  • items_price (Field3)