aa

Tables (4)

Users (고객정보)

  • 고객 아이디 (id) — char — Primary key — NOT NULL
  • 비밀번호 (passwowrd) — char
  • 이름 (name) — char
  • 전화번호 (phone) — int
  • 배송지 (adress) — char

cap (모자)

  • 모자 고유번호 (cap_key) — int — Primary key — NOT NULL
  • 색상 (cap_color) — char
  • 가격 (cap_price) — int

cloths (옷)

  • 옷 고유번호 (cloths_key) — int — Primary key — NOT NULL
  • 색상 (cloths_color) — char
  • 가격 (cloths_price) — int

orders (주문정보)

  • 주문번호 (order_id) — int — Primary key — NOT NULL
  • 주문일시 (order_when) — date
  • 고객 아이디 (id) — char — Foreign key → Users.고객 아이디 — NOT NULL
  • 옷 고유번호 (cloths_key) — int — Foreign key → cloths.옷 고유번호 — NOT NULL
  • 모자 고유번호 (cap_key) — int — Foreign key → cap.모자 고유번호 — NOT NULL