Drop files here

SQL upload ( 0 ) x -

Page-related settings Click on the bar to scroll to top of page
Press Ctrl+Enter to execute query Press Enter to execute query
ascending
descending
Order:
Debug SQL
Count
Execution order
Time taken
Order by:
Group queries
Ungroup queries
Collapse Expand Show trace Hide trace Count : Time taken :
Bookmarks
Refresh
Add
No bookmarks
Add bookmark
Options
Set default





Collapse Expand Requery Edit Explain Profiling Bookmark Query failed Database : Queried time :
Foreign key constraints
Actions Constraint properties Column Creating a foreign key over a non-indexed column would automatically create an index on it. Alternatively, you can define an index below, before creating the foreign key. Foreign key constraint (INNODB)
Database Table Column
ON DELETE ON UPDATE
+ Add column
+ Add constraint
Internal relationships Documentation
Column Internal relation An internal relation is not necessary when a corresponding FOREIGN KEY relation exists.
order_id
subscription_id
invoice_no
invoice_prefix
transaction_id
store_id
store_name
store_url
customer_id
customer_group_id
firstname
lastname
email
telephone
custom_field
payment_address_id
payment_firstname
payment_lastname
payment_company
payment_address_1
payment_address_2
payment_city
payment_postcode
payment_country
payment_country_id
payment_zone
payment_zone_id
payment_address_format
payment_custom_field
payment_method
shipping_address_id
shipping_firstname
shipping_lastname
shipping_company
shipping_address_1
shipping_address_2
shipping_city
shipping_postcode
shipping_country
shipping_country_id
shipping_zone
shipping_zone_id
shipping_address_format
shipping_custom_field
shipping_method
comment
total
order_status_id
affiliate_id
commission
marketing_id
tracking
language_id
language_code
currency_id
currency_code
currency_value
ip
forwarded_ip
user_agent
accept_language
date_added
date_modified