0929Workshop

Tables (5)

Brand (Untitled4)

  • 법인번호 (Co_no) — INT — Primary key — NOT NULL
  • 범인명 (Name) — TEXT
  • 브랜드명 (Brand_Name) — TEXT

Location (Untitled3)

  • 지역번호 (Location_no) — INT — Primary key — NOT NULL
  • 지역명 (Name) — TEXT
  • 위치 (Position) — POSITION
  • 기타 지역 정보 (Etc)

Product (Untitled)

  • 제품번호 (Product_no) — INT — Primary key — NOT NULL
  • 상품명 (Name) — TEXT
  • 가격 (Cost) — INT
  • 생성연도 (Created_at) — DATE
  • 유통기한 (Expired_at) — DATE
  • 지점번호 (Store_no) — INT — Foreign key → Store.지점번호 — NOT NULL

Store (Untitled2)

  • 지점번호 (Store_no) — INT — Primary key — NOT NULL
  • 상점명 (Name) — TEXT
  • 법인번호 (Co_no) — INT — Foreign key → Brand.법인번호 — NOT NULL
  • 지역번호 (Location_no) — INT — NOT NULL

Trade (Untitled5)

  • 거래번호 (Trade_no) — INT — Primary key — NOT NULL
  • 제품번호 (Product_no) — INT — Foreign key → Product.제품번호 — NOT NULL
  • 지점번호 (Store_no) — INT — Foreign key → Store.지점번호 — NOT NULL