20203272이신우

테이블 (5)

Untitled (Customer)

  • Key (id) — int — 기본 키 — NOT NULL
  • Field (LastName) — nchar(30)
  • Field (FirstName) — nchar(30)
  • Field (Country) — nchar(30)

Untitled (_Order)

  • Key (id) — int — 기본 키 — NOT NULL
  • Field (orderdate) — datetime2
  • Field (TotalAmount) — int
  • Key (customerID) — int — 외래 키 → Untitled.Key — NOT NULL
  • Field

Untitled (Product)

  • Key (id) — int — 기본 키 — NOT NULL
  • Field (productName) — char(30)
  • Field (unitprice) — int

Untitled (OrderItem)

  • Key (id) — int — 기본 키 — NOT NULL
  • Field (Quantity) — int
  • Key (ProductID) — int — 외래 키 → Untitled.Key — NOT NULL
  • Key (OrderID) — int — 외래 키 → Untitled.Key — NOT NULL

Untitled (Supplier)

  • Key (id) — int — 기본 키 — NOT NULL