OrderProcessing2025

Tables (5)

Untitled (Customer)

  • Key (id) — int — Primary key — NOT NULL
  • Field (FirstName) — nvarchar(20)
  • Field (LastName) — nvarchar(20)
  • Field (City) — nvarchar(40)
  • Field (Country) — nvarchar(20)
  • Field (Phone) — nvarchar(20)

Untitled (_Order)

  • Key (id) — int — Primary key — NOT NULL
  • Field (OrderDate) — date
  • Field (OrderNumber) — nvarchar(10)
  • Field (TotalAmount) — decimal
  • Key (id2) — int — Foreign key → Untitled.Key — NOT NULL

Untitled (Product)

  • Key (id) — int — Primary key — NOT NULL
  • Field (ProductName) — nvarchar(20)
  • Field (UnitPrice) — decimal
  • 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 (id2) — int — Foreign key → Untitled.Key — NOT NULL

Untitled (Supplier)

  • Key (id) — int — Primary key — NOT NULL
  • Field (CompanyName) — nvarchar(20)
  • Field (City) — nvarchar(20)
  • Field (Country) — nvarchar(20)
  • Field (Phone) — nvarchar(10)