OrderProcessing2024
Tables (5)
Untitled (Customer)
- Key (id) — int — Primary key — NOT NULL
- Field (Lastname) — nachor(30)
- Field (Firstlame) — nachor(30)
- Field2 (Country) — nachor(30)
- Field2 (city) — nachor(30)
Untitled (_Order)
- Key (id) — int — Primary key — NOT NULL
- Field (totalamount) — int
- Field (orderdate) — datetime2
- Key (customer_id) — int — Foreign key → Untitled.Key — NOT NULL
Untitled (Orderitem)
- Key (id) — int — Primary key — NOT NULL
- Field
- Key (orderid) — int — Foreign key → Untitled.Key — NOT NULL
- Key (productid) — int — Foreign key → Untitled.Key — NOT NULL
- Field2 (quantity) — int
Untitled (Product)
- Key (id) — int — Primary key — NOT NULL
- Field (productname) — nchar(30)
- Field (unitprice) — int
- Key (supplierid) — int — Foreign key → Untitled.Key — NOT NULL
Untitled (Supplier)
- Key (id) — int — Primary key — NOT NULL
- Field (CompanyName) — nchar(30)
- Field (country) — nchar(30)