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

travel_requests

# Name Type Collation Attributes Null Default Comments Extra Action
1 int(11) No None AUTO_INCREMENT Change Change Drop Drop
2 varchar(30) utf8mb4_unicode_ci Yes NULL Change Change Drop Drop
3 int(11) No None Change Change Drop Drop
4 enum('OB', 'PERSONAL') utf8mb4_unicode_ci No None Change Change Drop Drop
5 tinyint(1) No 1 Change Change Drop Drop
6 tinyint(1) No 0 Change Change Drop Drop
7 text utf8mb4_unicode_ci Yes NULL Change Change Drop Drop
8 tinyint(1) No 0 Change Change Drop Drop
9 date No None Change Change Drop Drop
10 varchar(255) utf8mb4_unicode_ci Yes NULL Change Change Drop Drop
11 decimal(10,7) Yes NULL Change Change Drop Drop
12 decimal(10,7) Yes NULL Change Change Drop Drop
13 varchar(255) utf8mb4_unicode_ci Yes NULL Change Change Drop Drop
14 varchar(255) utf8mb4_unicode_ci Yes NULL Change Change Drop Drop
15 time Yes NULL Change Change Drop Drop
16 time Yes NULL Change Change Drop Drop
17 int(11) Yes NULL Change Change Drop Drop
18 varchar(150) utf8mb4_unicode_ci No None Change Change Drop Drop
19 int(11) Yes NULL Change Change Drop Drop
20 varchar(150) utf8mb4_unicode_ci Yes NULL Change Change Drop Drop
21 enum('PENDING', 'APPROVED', 'DECLINED', 'CANCELLED... utf8mb4_unicode_ci No PENDING Change Change Drop Drop
22 varchar(255) utf8mb4_unicode_ci Yes NULL Change Change Drop Drop
23 datetime Yes NULL Change Change Drop Drop
24 char(40) utf8mb4_unicode_ci Yes NULL Change Change Drop Drop
25 datetime Yes NULL Change Change Drop Drop
26 enum('NOT_REQUIRED', 'PENDING', 'ARRANGED', 'NO_DR... utf8mb4_unicode_ci No NOT_REQUIRED Change Change Drop Drop
27 date Yes NULL Change Change Drop Drop
28 int(11) Yes NULL Change Change Drop Drop
29 int(11) Yes NULL Change Change Drop Drop
30 int(11) Yes NULL Change Change Drop Drop
31 datetime Yes NULL Change Change Drop Drop
32 datetime Yes NULL Change Change Drop Drop
33 varchar(150) utf8mb4_unicode_ci Yes NULL Change Change Drop Drop
34 varchar(150) utf8mb4_unicode_ci Yes NULL Change Change Drop Drop
35 varchar(255) utf8mb4_unicode_ci Yes NULL Change Change Drop Drop
36 int(11) Yes NULL Change Change Drop Drop
37 datetime Yes NULL Change Change Drop Drop
38 enum('WAITING', 'OUT', 'RETURNED') utf8mb4_unicode_ci No WAITING Change Change Drop Drop
39 datetime Yes NULL Change Change Drop Drop
40 decimal(10,1) Yes NULL Change Change Drop Drop
41 datetime Yes NULL Change Change Drop Drop
42 decimal(10,1) Yes NULL Change Change Drop Drop
43 int(11) Yes NULL Change Change Drop Drop
44 varchar(150) utf8mb4_unicode_ci Yes NULL Change Change Drop Drop
45 varchar(255) utf8mb4_unicode_ci Yes NULL Change Change Drop Drop
46 datetime No current_timestamp() Change Change Drop Drop
47 datetime No 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 14 A No
Edit Edit Rename Rename Drop Drop ref_no BTREE Yes No ref_no 14 A Yes
Edit Edit Rename Rename Drop Drop qr_token BTREE Yes No qr_token 14 A Yes
Edit Edit Rename Rename Drop Drop idx_status BTREE No No status 4 A No
Edit Edit Rename Rename Drop Drop idx_date BTREE No No travel_date 14 A No
Edit Edit Rename Rename Drop Drop idx_requester BTREE No No requester_id 7 A No
Edit Edit Rename Rename Drop Drop fk_req_dept BTREE No No department_id 4 A Yes
Edit Edit Rename Rename Drop Drop fk_req_approver BTREE No No approver_id 4 A Yes
Edit Edit Rename Rename Drop Drop fk_req_vehicle BTREE No No vehicle_id 4 A Yes
Edit Edit Rename Rename Drop Drop fk_req_drv1 BTREE No No driver1_id 4 A Yes
Edit Edit Rename Rename Drop Drop fk_req_drv2 BTREE No No driver2_id 2 A Yes
Edit Edit Rename Rename Drop Drop fk_req_guard BTREE No No guard_id 4 A Yes
Create an index on columns
Partitions Documentation
Information
Space usage
Data 32.0 KiB
Index 176.0 KiB
Overhead 0 B
Effective 208.0 KiB
Total 208.0 KiB
Optimize table Optimize table
Row statistics
Format dynamic
Collation utf8mb4_unicode_ci
Next autoindex 15
Creation Nov 19, 2026 at 09:28 AM
Last update Nov 19, 2026 at 11:05 AM
Last check Nov 19, 2026 at 02:10 PM