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 :
Table structure
Settings for the table structure (list of columns).
Table structure
Documentation Whether the table structure actions should be hidden. Restore default value
Documentation Whether column comments should be shown in table structure view Restore default value
Default transformations
Documentation Values for options list for default transformations. These will be overwritten if transformation is filled in at table structure page. Restore default value
Documentation Values for options list for default transformations. These will be overwritten if transformation is filled in at table structure page. Restore default value
Documentation Values for options list for default transformations. These will be overwritten if transformation is filled in at table structure page. Restore default value
Documentation Values for options list for default transformations. These will be overwritten if transformation is filled in at table structure page. Restore default value
Documentation Values for options list for default transformations. These will be overwritten if transformation is filled in at table structure page. Restore default value
Documentation Values for options list for default transformations. These will be overwritten if transformation is filled in at table structure page. Restore default value
Documentation Values for options list for default transformations. These will be overwritten if transformation is filled in at table structure page. Restore default value
Documentation Values for options list for default transformations. These will be overwritten if transformation is filled in at table structure page. Restore default value
Documentation Values for options list for default transformations. These will be overwritten if transformation is filled in at table structure page. Restore default value

stock_balances

# Name Type Collation Attributes Null Default Comments Extra Action
1 bigint(20) UNSIGNED No None AUTO_INCREMENT Change Change Drop Drop
2 bigint(20) UNSIGNED No None Change Change Drop Drop
3 bigint(20) UNSIGNED No None Change Change Drop Drop
4 bigint(20) UNSIGNED No None Change Change Drop Drop
5 enum('new', 'used', 'faulty', 'under_testing', 're... utf8mb4_unicode_ci No new Change Change Drop Drop
6 decimal(14,3) No 0.000 Change Change Drop Drop
7 timestamp Yes current_timestamp() ON UPDATE CURRENT_TIMESTAMP() Change Change Drop Drop
With selected: With selected:

Add column  Add column(s)  
Indexes Documentation
Action Keyname Type Unique Packed Column Cardinality Collation Null Comment
Edit Edit Rename Rename Drop Drop PRIMARY BTREE Yes No id 3343 A No
Edit Edit Rename Rename Drop Drop uq_stock_balance BTREE Yes No company_id 2 A No
location_id 222 A No
product_id 3343 A No
stock_condition 3343 A No
Edit Edit Rename Rename Drop Drop idx_stock_balance_product BTREE No No product_id 668 A No
Edit Edit Rename Rename Drop Drop fk_stock_balances_location BTREE No No location_id 222 A No
Create an index on columns
Partitions Documentation
Information
Space usage
Data 256.0 KiB
Index 400.0 KiB
Overhead 4.0 MiB
Effective -3,522,560 B
Total 656.0 KiB
Optimise table Optimise table
Row statistics
Format dynamic
Collation utf8mb4_unicode_ci
Next autoindex 848,525
Creation Jul 04, 2026 at 06:39 AM
Last update Aug 08, 2026 at 04:49 PM
Last check Aug 09, 2026 at 01:27 AM