PDA Practice

테이블 (3)

상품 (Product)

  • 상품ID (product_id) — bigInt — 기본 키 — NOT NULL
  • 상품명 (name) — varchar(50)
  • 가격 (price) — bigInt
  • 설명 (description) — varchar(512)

주문 (Order)

  • 주문ID (order_id) — bigInt — 기본 키 — NOT NULL
  • 상품ID (product_id) — bigInt

주문상품리스트 (OrderProductList)

  • 주문ID (order_id) — bigInt — 기본 키 — NOT NULL
  • 상품ID (product_id) — bigInt