db임시

테이블 (3)

장바구니 (CopyOfUntitled)

  • 회원 (Key) — not null,unique — 기본 키 — NOT NULL
  • 상품 (Key2) — not null,unique — 기본 키 — NOT NULL
  • 색상 (color) — not null
  • 가죽 (leather) — CHECK(STATUS IN ('Y','N'))
  • 스툴 (STOOL) — CHECK(STATUS IN ('Y','N'))
  • 수량 (quantity) — not null
  • 배송비 (deliveryPrice) — number
  • 총금액 (totalPrice) — not null

주문/배송 상태 (CopyOfCopyOfUntitled)

  • 회원 (Key) — not null,unique — 기본 키 — NOT NULL
  • 주문번호 (Key2) — not null,unique — 기본 키 — NOT NULL
  • 주문상태 (orderStatus) — not null
  • 리뷰작성여부 (reviewWrite) — CHECK(STATUS IN ('Y','N'))
  • 스툴 (STOOL) — CHECK(STATUS IN ('Y','N'))

주문정보 (Untitled)

  • 주문 (Key) — not null,unique — 기본 키 — NOT NULL
  • 상품 (Key2) — not null,unique — 기본 키 — NOT NULL
  • 회원 (Key3) — not null,unique — 기본 키 — NOT NULL
  • 색상 (color) — not null
  • 가죽 (leather) — CHECK(STATUS IN ('Y','N'))
  • 스툴 (STOOL) — CHECK(STATUS IN ('Y','N'))
  • 수량 (quantity) — not null
  • 총금액 (totalPrice) — not null
  • 배송비 (deliveryPrice) — number
  • 결제수단 (paytool) — not null
  • 주문번호 (orderNumber) — not null,unique
  • 주문일자 (orderDate) — Date DEFAULT SYSDATE