쇼핑몰

테이블 (4)

고객 (member)

  • 고객아이디 (id) — varchar2(20) — 기본 키 — NOT NULL
  • 우편번호 (homecode2) — number(5) — 외래 키 → 우편번호.우편번호 — NOT NULL
  • 고객암호 (password)
  • 고객이름 (name)
  • 주소 (adress)
  • 연락처 (phone)
  • 가입일 (regdate)

상품 (product)

  • 상품코드 (code) — 기본 키 — NOT NULL
  • 상품명 (p_name)
  • 등록 상품 구분 (p_type)
  • Field3

우편번호 (post)

  • 우편번호 (homecode) — number(5) — 기본 키 — NOT NULL
  • 시도 (location) — varchar2(20)
  • 구군 (Field)
  • 동 (Field2)
  • 번지 (Field3)

주문정보 (Untitled)

  • Key — 기본 키 — NOT NULL
  • 고객아이디 (id) — varchar2(20) — 외래 키 → 고객.고객아이디 — NOT NULL
  • 우편번호 (homecode2) — number(5) — 외래 키 → 고객.우편번호 — NOT NULL
  • Field
  • Field2
  • Field3