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

overtime_records

# Name Type Collation Attributes Null Default Comments Extra Action
1 int(10) UNSIGNED No None AUTO_INCREMENT Change Change Drop Drop
2 varchar(30) utf8mb4_unicode_ci No None Change Change Drop Drop
3 int(10) UNSIGNED No None Change Change Drop Drop
4 int(10) UNSIGNED No None Change Change Drop Drop
5 varchar(200) utf8mb4_unicode_ci No None Change Change Drop Drop
6 date No None Change Change Drop Drop
7 enum('regular', 'rest_day', 'special_holiday', 're... utf8mb4_unicode_ci No regular Change Change Drop Drop
8 time Yes NULL Change Change Drop Drop
9 time Yes NULL Change Change Drop Drop
10 datetime Yes NULL Change Change Drop Drop
11 datetime Yes NULL Change Change Drop Drop
12 int(11) No 0 Change Change Drop Drop
13 int(11) No 0 Change Change Drop Drop
14 int(11) No 0 Change Change Drop Drop
15 int(11) No 0 Change Change Drop Drop
16 int(10) UNSIGNED Yes NULL Change Change Drop Drop
17 varchar(500) utf8mb4_unicode_ci Yes NULL Change Change Drop Drop
18 tinyint(1) No 0 Change Change Drop Drop
19 varchar(500) utf8mb4_unicode_ci Yes NULL Change Change Drop Drop
20 varchar(500) utf8mb4_unicode_ci Yes NULL Change Change Drop Drop
21 varchar(500) utf8mb4_unicode_ci Yes NULL Change Change Drop Drop
22 enum('draft', 'pending', 'approved', 'rejected', '... utf8mb4_unicode_ci No pending Change Change Drop Drop
23 enum('manual', 'bulk') utf8mb4_unicode_ci No manual Change Change Drop Drop
24 int(10) UNSIGNED Yes NULL Change Change Drop Drop
25 int(10) UNSIGNED No None Change Change Drop Drop
26 datetime No current_timestamp() Change Change Drop Drop
27 int(10) UNSIGNED Yes NULL Change Change Drop Drop
28 datetime Yes NULL Change Change Drop Drop
29 varchar(500) utf8mb4_unicode_ci Yes NULL Change Change Drop Drop
30 int(10) UNSIGNED Yes NULL Change Change Drop Drop
31 datetime Yes NULL ON UPDATE CURRENT_TIMESTAMP() Change Change Drop Drop
32 datetime Yes NULL Change Change Drop Drop
33 int(10) UNSIGNED Yes NULL 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 0 A No
Edit Edit Rename Rename Drop Drop uq_ot_ref BTREE Yes No reference_no 0 A No
Edit Edit Rename Rename Drop Drop idx_ot_dept_date BTREE No No department_id 0 A No
overtime_date 0 A No
status 0 A No
Edit Edit Rename Rename Drop Drop idx_ot_emp_date BTREE No No employee_id 0 A No
overtime_date 0 A No
Edit Edit Rename Rename Drop Drop idx_ot_status BTREE No No status 0 A No
Edit Edit Rename Rename Drop Drop idx_ot_batch BTREE No No batch_id 0 A Yes
Edit Edit Rename Rename Drop Drop fk_ot_rule BTREE No No rule_id 0 A Yes
Edit Edit Rename Rename Drop Drop fk_ot_encoder BTREE No No encoded_by 0 A No
Edit Edit Rename Rename Drop Drop fk_ot_decider BTREE No No decided_by 0 A Yes
Edit Edit Rename Rename Drop Drop fk_ot_updater BTREE No No updated_by 0 A Yes
Edit Edit Rename Rename Drop Drop fk_ot_deleter BTREE No No deleted_by 0 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 1
Creation Oct 21, 2026 at 01:18 PM
Last update Nov 19, 2026 at 02:02 PM
Last check Nov 19, 2026 at 02:02 PM