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

purchase_orders

# Name Type Collation Attributes Null Default Comments Extra Action
1 int(11) No None AUTO_INCREMENT Change Change Drop Drop
2 varchar(50) utf8mb4_unicode_ci No None Change Change Drop Drop
3 int(11) Yes NULL Change Change Drop Drop
4 int(11) No None Change Change Drop Drop
5 int(11) Yes NULL Change Change Drop Drop
6 date No None Change Change Drop Drop
7 date Yes NULL Change Change Drop Drop
8 date Yes NULL Change Change Drop Drop
9 decimal(14,2) No 0.00 Change Change Drop Drop
10 enum('draft', 'pending', 'approved', 'partially_re... utf8mb4_unicode_ci No draft Change Change Drop Drop
11 text utf8mb4_unicode_ci Yes NULL Change Change Drop Drop
12 int(11) Yes NULL Change Change Drop Drop
13 int(11) Yes NULL Change Change Drop Drop
14 int(11) Yes NULL Change Change Drop Drop
15 int(11) Yes NULL Change Change Drop Drop
16 timestamp Yes NULL Change Change Drop Drop
17 timestamp No current_timestamp() Change Change Drop Drop
18 timestamp No current_timestamp() ON UPDATE CURRENT_TIMESTAMP() Change Change Drop Drop
19 int(11) Yes NULL الموازنة المخصومة منها Change Change Drop Drop
20 int(11) Yes NULL قيد الالتزام Change Change Drop Drop
21 int(11) Yes NULL قيد السداد Change Change Drop Drop
22 enum('asset', 'consumable', 'service', 'other') utf8mb4_unicode_ci Yes consumable Change Change Drop Drop
23 decimal(14,2) Yes 0.00 المستلم فعلاً Change Change Drop Drop
24 decimal(14,2) Yes 0.00 المسدد فعلاً 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 5 A No
Edit Edit Rename Rename Drop Drop po_number BTREE Yes No po_number 5 A No
Edit Edit Rename Rename Drop Drop warehouse_id BTREE No No warehouse_id 5 A No
Edit Edit Rename Rename Drop Drop department_id BTREE No No department_id 5 A Yes
Edit Edit Rename Rename Drop Drop created_by BTREE No No created_by 2 A Yes
Edit Edit Rename Rename Drop Drop approved_by BTREE No No approved_by 2 A Yes
Edit Edit Rename Rename Drop Drop idx_status BTREE No No status 2 A No
Edit Edit Rename Rename Drop Drop idx_order_date BTREE No No order_date 5 A No
Edit Edit Rename Rename Drop Drop idx_supplier BTREE No No supplier_id 2 A Yes
Edit Edit Rename Rename Drop Drop idx_budget BTREE No No budget_id 5 A Yes
Edit Edit Rename Rename Drop Drop idx_journal BTREE No No journal_entry_id 5 A Yes
Create an index on columns
Partitions Documentation
Information
Space usage
Data 16.0 KiB
Index 160.0 KiB
Overhead 0 B
Effective 176.0 KiB
Total 176.0 KiB
Optimize table Optimize table
Row statistics
Format dynamic
Collation utf8mb4_unicode_ci
Next autoindex 6
Creation Jul 27, 2026 at 10:40 PM
Last update Jul 30, 2026 at 02:36 PM
Last check Jul 30, 2026 at 02:36 PM