20233006_OrderProcessing
Tables (5)
Untitled (Customer)
- Key (id) — int — Primary key — NOT NULL
- Field (LastName) — nchar(30)
- Field (FirstName) — nchar(30)
- Field (Country) — nchar(30)
- Field (tel) — char(15)
- Field (zipcode) — char(5)
- Field (do) — nchar(10)
- Field (city) — nchar(10)
- Field (dong) — nchar(10)
- Field (detail_addr) — nchar(30)
Untitled (_Order)
- Key (id) — int — Primary key — NOT NULL
- Field (OrderDate) — DateTime2
- Field (TotalAmount) — int
- Key (Customerid) — int — Foreign key → Untitled.Key — NOT NULL
- Key (id2) — int — Foreign key → Untitled.Key — NOT NULL
Untitled (Product)
- Key (id) — int — Primary key — NOT NULL
- Field (ProductName) — char(30)
- Field (UnitPrice) — int
- Key (supplierid) — int — Foreign key → Untitled.Key — NOT NULL
Untitled (Orderitem)
- Key (id) — int — Primary key — NOT NULL
- Field (Orderid) — int
- Field (Quantity) — int
- Field (Productid) — int
- Key (id2) — int — Foreign key → Untitled.Key — NOT NULL
Untitled (Supplier)
- Key (id) — int — Primary key — NOT NULL
- Field