Uploaded by gulsahkarabayir

classicERD

advertisement
orderdetails
productlines
orderNumber INT
productLine VARCHAR(50)
productCode VARCHAR(15)
textDescription VARCHAR(4000)
quantityOrdered INT
htmlDescription MEDIUMTEXT
priceEach DECIMAL(10,2)
orderLineNumber SMALLINT
image MEDIUMBLOB
Indexes
Indexes
payments
products
employees
orders
customerNumber INT
productCode VARCHAR(15)
employeeNumber INT
orderNumber INT
checkNumber VARCHAR(50)
productName VARCHAR(70)
lastName VARCHAR(50)
orderDate DATE
paymentDate DATE
productLine VARCHAR(50)
firstName VARCHAR(50)
requiredDate DATE
amount DECIMAL(10,2)
productScale VARCHAR(10)
extension VARCHAR(10)
shippedDate DATE
productVendor VARCHAR(50)
email VARCHAR(100)
status VARCHAR(15)
productDescription TEXT
officeCode VARCHAR(10)
comments TEXT
quantityInStock SMALLINT
reportsTo INT
buyPrice DECIMAL(10,2)
jobTitle VARCHAR(50)
Indexes
MSRP DECIMAL(10,2)
customers
Indexes
customerNumber INT
customerName VARCHAR(50)
contactLastName VARCHAR(50)
contactFirstName VARCHAR(50)
phone VARCHAR(50)
addressLine1 VARCHAR(50)
addressLine2 VARCHAR(50)
city VARCHAR(50)
state VARCHAR(50)
postalCode VARCHAR(15)
offices
country VARCHAR(50)
officeCode VARCHAR(10)
salesRepEmployeeNumber INT
city VARCHAR(50)
creditLimit DECIMAL(10,2)
phone VARCHAR(50)
Indexes
addressLine1 VARCHAR(50)
addressLine2 VARCHAR(50)
state VARCHAR(50)
country VARCHAR(50)
postalCode VARCHAR(15)
territory VARCHAR(10)
Indexes
Indexes
customerNumber INT
Indexes
Download