개인과제
테이블 (5)
Part (부품)
- part_ID (Key) — int — 기본 키 — NOT NULL
- description (Field) — text
- name (Field2) — char(100)
Part_Supplier (부품_생산자)
- part_ID (Key) — int — 외래 키 → Part.part_ID — NOT NULL
- supplier_ID (Key4) — int — 외래 키 → Supplier.supplier_ID — NOT NULL
Product (제품)
- product_ID (Key) — int — 기본 키 — NOT NULL
- description (Field) — text
- price (Field2) — decimal(10,2)
- name (Field3) — char(100)
Product_Part (제품_부품)
- quantity (Field) — int
- product_ID (Key) — int — 외래 키 → Product.product_ID — NOT NULL
- part_ID (Key2) — int — 외래 키 → Part.part_ID — NOT NULL
Supplier (생산자)
- supplier_ID (Key) — int — 기본 키 — NOT NULL
- name (Field) — char(100)
- address (Field2) — char(200)
- phone_number (Field3) — char(10)