product

테이블 (5)

게시글 (board)

  • 게시글번호 (board_id) — NOT NULL — 기본 키 — NOT NULL
  • 게시관리자 (manager) — NOT NULL — 기본 키 — NOT NULL
  • 제조업체ID (manufacturer_id) — NOT NULL — 외래 키 → 제조업체.제조업체ID — NOT NULL
  • 업체담당자사원번호 (manufacturer_menager_empno) — NOT NULL — 외래 키 → 제조업체.업체담당자사원번호 — NOT NULL
  • 글제목 (board_title) — NOT NULL
  • 글내용 (board_content) — NOT NULL

상품 (product)

  • 상품번호 (product_id) — NOT NULL — 기본 키 — NOT NULL
  • 제조업체ID (manufacturer_id) — NOT NULL — 외래 키 → 제조업체.제조업체ID — NOT NULL
  • 업체담당자사원번호 (manufacturer_menager_empno) — NOT NULL — 외래 키 → 제조업체.업체담당자사원번호 — NOT NULL
  • 상품명 (product_name) — NOT NULL
  • 가격 (product_price) — NOT NULL
  • 재고량 (product_inventory) — NULL

제조업체 (manufacturer)

  • 제조업체ID (manufacturer_id) — NOT NULL — 기본 키 — NOT NULL
  • 업체담당자사원번호 (manufacturer_menager_empno) — NOT NULL — 기본 키 — NOT NULL
  • 업체 담당자 (manufacturer_menager) — NOT NULL
  • 업체영문명 (manufacturer_eng_name) — NOT NULL
  • 업체명 (manufacturer_name) — NOT NULL
  • 업체연락처1 (manufacturer_phone1) — NOT NULL
  • 업체연락처2 (manufacturer_phone2) — NOT NULL
  • 업체연락처3 (manufacturer_phone3) — NOT NULL
  • 업체주소 (manufacturer_address1) — NOT NULL
  • 업체상세주소 (manufacturer_address2) — NOT NULL
  • 우편주소 (manufacturer_zip) — NOT NULL

주문 (order)

  • 주문번호 (order_no) — NOT NULL — 기본 키 — NOT NULL
  • 상품번호 (product_id) — NOT NULL — 외래 키 → 상품.상품번호 — NOT NULL
  • 제조업체ID (manufacturer_id) — NOT NULL — 외래 키 → 상품.제조업체ID — NOT NULL
  • 업체담당자사원번호 (manufacturer_menager_empno) — NOT NULL — 외래 키 → 상품.업체담당자사원번호 — NOT NULL
  • 회원ID (customer_id) — NOT NULL — 외래 키 → 회원.회원ID — NOT NULL
  • 주문수량 (order_mount) — NOT NULL
  • 주문일자 (order_date) — NOT NULL

회원 (customer)

  • 회원ID (customer_id) — NOT NULL — 기본 키 — NOT NULL
  • 비밀번호 (password) — NOT NULL
  • 회원명 (customer_name) — NOT NULL
  • 나이 (customer_age) — NULL
  • 전화번호1 (customer_phone1) — NULL
  • 전화번호2 (customer_phone2) — NULL
  • 전화번호3 (customer_phone3) — NULL
  • 주소 (customer_address1) — NULL
  • 상세주소 (customer_address2) — NULL
  • 우편번호 (customer_zip) — NULL