편의점 상품 관리 프로그램

테이블 (3)

my_products (my products)

  • product_name — text — 기본 키 — NOT NULL
  • product_quantity — integer
  • product_price — integer
  • add_date — date

my_store

  • store_name — VARCHER — 기본 키 — NOT NULL
  • location — text

store_product

  • store_name — VARCHER — 외래 키 → my_store.store_name — NOT NULL
  • product_name — text — 외래 키 → my_products.product_name — NOT NULL