Orderprocessing202410

Tables (5)

Untitled (Customer)

  • Key (Id) — Int — Primary key — NOT NULL
  • Field (Lastname) — nchar(30)
  • Field (Firstname) — nchar(30)
  • Field (Country) — nchar(30)
  • Field (City) — nchar(30)

Untitled (_Order)

  • Key (Id) — Int — Primary key — NOT NULL
  • Field (Totalamount) — int
  • Field (orderdate) — datetime2
  • Key (Id2) — Int — Foreign key → Untitled.Key — NOT NULL

Untitled (OrderItem)

  • Key (Id) — Int — Primary key — NOT NULL
  • 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
  • Field
  • Key (supplierId) — Int — Foreign key → Untitled.Key — NOT NULL

Untitled (Supplier)

  • Key (Id) — Int — Primary key — NOT NULL
  • Field (CompanyName) — nchar(3)
  • Field (country) — nchar(30)
  • Field