study
Tables (8)
Categories (tb_category)
- CategoryID (Key) — Primary key — NOT NULL
- CategoryName (Field)
- Description (Field2)
Customers (tb_customer)
- CustomerID (Key) — Primary key — NOT NULL
- CustomerName (Field)
- ContactName (Field2)
- Address (Field3)
- City (Field4)
- PostalCode (Field5)
- County (Field6)
Employees (tb_employee)
- EmployeeID (Key) — Primary key — NOT NULL
- LastName (Field)
- FirstName (Field2)
- BirthDate (Field3)
- Photo (Field4)
- Notes (Field5)
OrderDetails (tb_orderdetail)
- OrderDetailID (Key) — Primary key — NOT NULL
- OrderID (key2) — Foreign key → Orders.OrderID — NOT NULL
- ProductID (Key2) — Foreign key → Products.ProductID — NOT NULL
- Quantity (Field2)
Orders (tb_order)
- OrderID (Key) — Primary key — NOT NULL
- CustomerID (Key5) — Foreign key → Customers.CustomerID — NOT NULL
- EmployeeID (Key3) — Foreign key → Employees.EmployeeID — NOT NULL
- ShipperID (Key4) — Foreign key → Shippers.ShipperID — NOT NULL
- OrderDate (Field2)
- Field3
Products (tb_product)
- ProductID (Key) — Primary key — NOT NULL
- CategoryID (Key2) — Foreign key → Categories.CategoryID — NOT NULL
- SupplierID (Key3) — Foreign key → Suppliers.SupplierID — NOT NULL
- ProductName (Field)
- Unit (Field4)
- Price (Field5)
Shippers (tb_shipper)
- ShipperID (Key) — Primary key — NOT NULL
- ShipperName (Field)
- Phone (Field2)
Suppliers (tb_supplier)
- SupplierID (Key) — Primary key — NOT NULL
- SupplierName (Field)
- ContactName (Field2)
- Address (Field3)
- City (Field4)
- PostalCode (Field5)
- Country (Field6)
- Phone (Field7)