Drop files here

SQL upload ( 0 ) x-

Server: 127.0.0.1 »Database: landed_cost_calculator_dev »Table: hs_codes
Page-related settingsClick 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
Drop Drop
ON DELETE ON UPDATE
+ Add column
ON DELETE ON UPDATE
+ Add column
+ Add constraint
IndexesDocumentation
No index defined!
The indexes fk_category and idx_hs_codes_category seem to be equal and one of them could possibly be removed.
ActionKeynameTypeUniquePackedColumnCardinalityCollationNullComment
PRIMARYBTREEYesNoid34ANo
hs_codeBTREEYesNohs_code34ANo
fk_categoryBTREENoNocategory_id17ANo
idx_hs_codes_categoryBTREENoNocategory_id17ANo