커스터머스

테이블 (3)

고객명 (Custemers)

  • 고객아이디 (customer_id) — varchar2 — 기본 키 — NOT NULL
  • 고객명 (customer_name) — varchar2
  • 가입일 (date_became_customer) — date
  • 추가정보 (other_customer_details) — varchar2

고객주소 (customer_address)

  • 주소아이디 (address_id) — varchar2
  • 고객아이디 (customer_id) — varchar2
  • 주소1 (date_address_from) — varchar2
  • 추가정보 (other_customer_details) — varchar2
  • 고객아이디 (customer_id2) — varchar2 — 외래 키 → 고객명.고객아이디 — NOT NULL
  • 주소아이디 (address_id2) — varchar2 — 외래 키 → 주소.주소아이디 — NOT NULL

주소 (addresses)

  • 주소아이디 (address_id) — varchar2 — 기본 키 — NOT NULL
  • 빌딩정보 (line_1_number_buiiding) — number
  • 거리정보 (line_2_number_street) — number
  • 지역정보 (line_3_area_locally) — varchar2
  • 도시 (city) — varchar2
  • 우편번호 (zip_postcode) — varchar2
  • 주 (state_province_county) — varchar2
  • 국가 (country) — varchar2
  • 추가정보 (other_address_details) — varchar2