exercise . (1)
Tables (5)
Untitled (part)
- Key (modelID) — int(10) — Primary key — NOT NULL
- Key (cateID) — int(5) — Foreign key → Untitled.Key — NOT NULL
- Field (name) — char(20)
- Field (number) — char(30)
- Field (description) — text
- Field (category) — char(20)
- Key (supID) — int(5) — Foreign key → Untitled.Key — NOT NULL
Untitled (suppler)
- Key (supID) — int(5) — Primary key — NOT NULL
- Field (supName) — char(30)
- Field (address) — char(30)
- Field (phone) — char(12)
- Field (email) — email
- Field (description) — text
Untitled (product)
- Key — int(5) — Primary key — NOT NULL
- Key (proID) — int(10) — Foreign key → Untitled.Key — NOT NULL
- Key (modelID) — int(10) — Foreign key → Untitled.Key — NOT NULL
- Key (cateID) — int(5) — Foreign key → Untitled.Key — NOT NULL
- Field (proName) — char(10)
- Field (description) — text
- Field (price) — int(10)
Untitled (productPart)
- Key (proID) — int(10) — Primary key — NOT NULL
- Key (modelID) — int(10) — Foreign key → Untitled.Key — NOT NULL
- Key (cateID) — int(5) — Foreign key → Untitled.Key — NOT NULL
- Field (partID) — int(10)
- Field (quantity)
Untitled (category)
- Key (cateID) — int(5) — Primary key — NOT NULL
- Field (cateName) — char(20)
- Field (description) — text