You are on page 1of 1

suppliers orders_status

products orders
id INT(11) order_details id TINYINT(4)
supplier_ids LONGTEXT order_details_status id INT(11)
company VARCHAR(50) id INT(11) status_name VARCHAR(50)
id INT(11) id INT(11) employee_id INT(11) invoices
last_name VARCHAR(50) order_id INT(11)
product_code VARCHAR(25) status_name VARCHAR(50) customer_id INT(11) Indexes id INT(11)
first_name VARCHAR(50) product_id INT(11)
product_name VARCHAR(50) Indexes order_date DATETIME order_id INT(11)
email_address VARCHAR(50) quantity DECIMAL(18,4)
description LONGTEXT shipped_date DATETIME invoice_date DATETIME
job_title VARCHAR(50) unit_price DECIMAL(19,4)
standard_cost DECIMAL(19,4) shipper_id INT(11) due_date DATETIME
business_phone VARCHAR(25) discount DOUBLE
list_price DECIMAL(19,4) ship_name VARCHAR(50) tax DECIMAL(19,4)
home_phone VARCHAR(25) status_id INT(11)
reorder_level INT(11) ship_address LONGTEXT shipping DECIMAL(19,4)
mobile_phone VARCHAR(25) date_allocated DATETIME
target_level INT(11) ship_city VARCHAR(50) amount_due DECIMAL(19,4)
fax_number VARCHAR(25) purchase_order_id INT(11)
quantity_per_unit VARCHAR(50) ship_state_province VARCHAR(50)
address LONGTEXT inventory_id INT(11) orders_tax_status Indexes
discontinued TINYINT(1) ship_zip_postal_code VARCHAR(50)
city VARCHAR(50) Indexes id TINYINT(4)
minimum_reorder_quantity INT(11) ship_country_region VARCHAR(50)
state_province VARCHAR(50) tax_status_name VARCHAR(50)
category VARCHAR(50) shipping_fee DECIMAL(19,4)
Indexes shippers
zip_postal_code VARCHAR(15)
attachments LONGBLOB taxes DECIMAL(19,4)
country_region VARCHAR(50) id INT(11)
Indexes payment_type VARCHAR(50)
web_page LONGTEXT company VARCHAR(50)
employees paid_date DATETIME
notes LONGTEXT last_name VARCHAR(50)
id INT(11) notes LONGTEXT
attachments LONGBLOB first_name VARCHAR(50)
company VARCHAR(50) tax_rate DOUBLE
email_address VARCHAR(50)
Indexes last_name VARCHAR(50) tax_status_id TINYINT(4)
job_title VARCHAR(50)
first_name VARCHAR(50) status_id TINYINT(4)
business_phone VARCHAR(25)
Indexes
email_address VARCHAR(50) home_phone VARCHAR(25)
job_title VARCHAR(50) mobile_phone VARCHAR(25)
business_phone VARCHAR(25) fax_number VARCHAR(25)
purchase_orders
home_phone VARCHAR(25) address LONGTEXT
id INT(11) employee_privileges
mobile_phone VARCHAR(25) city VARCHAR(50)
supplier_id INT(11) employee_id INT(11)
fax_number VARCHAR(25) state_province VARCHAR(50)
created_by INT(11) privilege_id INT(11)
address LONGTEXT customers zip_postal_code VARCHAR(15)
submitted_date DATETIME Indexes
city VARCHAR(50) id INT(11) country_region VARCHAR(50)
creation_date DATETIME
state_province VARCHAR(50) company VARCHAR(50) web_page LONGTEXT
status_id INT(11) purchase_order_details zip_postal_code VARCHAR(15) last_name VARCHAR(50) notes LONGTEXT
expected_date DATETIME id INT(11) country_region VARCHAR(50) first_name VARCHAR(50) attachments LONGBLOB
shipping_fee DECIMAL(19,4) purchase_order_id INT(11) privileges
web_page LONGTEXT email_address VARCHAR(50) Indexes
taxes DECIMAL(19,4) product_id INT(11) id INT(11)
notes LONGTEXT job_title VARCHAR(50)
payment_date DATETIME quantity DECIMAL(18,4) privilege_name VARCHAR(50)
attachments LONGBLOB business_phone VARCHAR(25)
payment_amount DECIMAL(19,4) unit_cost DECIMAL(19,4) Indexes
Indexes home_phone VARCHAR(25)
payment_method VARCHAR(50) date_received DATETIME mobile_phone VARCHAR(25)
notes LONGTEXT posted_to_inventory TINYINT(1) fax_number VARCHAR(25)
approved_by INT(11) inventory_id INT(11) address LONGTEXT
approved_date DATETIME Indexes city VARCHAR(50)
submitted_by INT(11)
state_province VARCHAR(50)
Indexes
zip_postal_code VARCHAR(15)

country_region VARCHAR(50)

web_page LONGTEXT

inventory_transactions notes LONGTEXT

purchase_order_status id INT(11) attachments LONGBLOB

id INT(11) transaction_type TINYINT(4)


Indexes
status VARCHAR(50) transaction_created_date DATETI
Indexes transaction_modified_date DATET

product_id INT(11)
inventory_transaction_types
quantity INT(11)
id TINYINT(4)
purchase_order_id INT(11)
type_name VARCHAR(50)
customer_order_id INT(11)
Indexes
comments VARCHAR(255)

Indexes

You might also like