erd_exam2

테이블 (4)

고객 (costomer)

  • 고객번호 (costomer_no) — number — 기본 키 — NOT NULL — client_sqe
  • 고객이름 (costomer_name) — vachar2(20) — NOT NULL
  • 전화번호 (costomer_phone) — varchar(13) — NOT NULL — 010-0000-0000 형식
  • 성별 (costomer_gender) — char(1) — NOT NULL — 'M'or 'F'로 저장

반품 (return_tbl)

  • 반품번호 (return_no) — number — 기본 키 — NOT NULL
  • 반품내용 (return_content) — varchar(200) — NOT NULL
  • 상담번호 (counseiling_no) — number — 외래 키 → 상담일지.상담번호 — NOT NULL

반품 (return_tbl2)

  • 상담번호 (counseiling_no) — number — 외래 키 → 상담일지.상담번호 — NOT NULL
  • 반품 내용 (return_content) — varchar2(200) — NOT NULL

상담일지 (counseiling_tbl)

  • 상담번호 (counseiling_no) — number — 기본 키 — NOT NULL
  • 상담내용 (counseiling_content) — char(1) — NOT NULL — A-수리/B-반품
  • 상담 타입 (tcounseiling_type)
  • 고객번호 (costomer_no) — number — 외래 키 → 고객.고객번호 — NOT NULL — client_sqe