data

Tables (8)

Categories (tb_categories)

  • CategoryID (Key) — Primary key — NOT NULL
  • CategoryName (Field)
  • Description (Field2)

Customers (tb_customers)

  • CustomerID (Key) — Primary key — NOT NULL
  • CustomerName (Field)
  • ContactName (Field2)
  • Address (Field3)
  • City (Field4)
  • PostalCode (Field5)
  • Country (Field6)

Emolyees (tb_employees)

  • EmployeeID (Key) — Primary key — NOT NULL
  • LastName (Field)
  • FirstName (Field2)
  • BirthDate (Field3)
  • Photo (Field4)
  • Notes (Field5)

OrderDetails (tb_orderdetails)

  • OrderDetailID (Key) — Primary key — NOT NULL
  • OrderID (Key2) — Foreign key → Orders.OrderID — NOT NULL
  • Quantity (Field)
  • ProductID (Key3) — Foreign key → Products.ProductID — NOT NULL

Orders (tb_orders)

  • OrderID (Key) — Primary key — NOT NULL
  • CustomerID (Key2) — Foreign key → Customers.CustomerID — NOT NULL
  • OrderDate (Field)
  • EmployeeID (Key3) — Foreign key → Emolyees.EmployeeID — NOT NULL
  • ShipperID (Key4) — Foreign key → Shippers.ShipperID — NOT NULL

Products (tb_products)

  • ProductID (Key) — Primary key — NOT NULL
  • ProductName (Field)
  • Unit (Field2)
  • Price (Field3)
  • SupplierID (Key2) — Foreign key → Suppliers.SupplierID — NOT NULL
  • CategoryID (Key3) — Foreign key → Categories.CategoryID — NOT NULL

Shippers (tb_shippers)

  • ShipperID (Key) — Primary key — NOT NULL
  • ShipperName (Field)
  • Phone (Field2)

Suppliers (tb_suppliers)

  • SupplierID (Key) — Primary key — NOT NULL
  • SupplierName (Field)
  • Address (Field2)
  • City (Field3)
  • PostalCode (Field4)
  • Country (Field5)
  • Phone (Field6)