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

timesheets

# 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 enum('WORK', 'LEAVE', 'WORK_OVERTIME') utf8mb4_unicode_ci No WORK Change Change Drop Drop
4 datetime Yes NULL Change Change Drop Drop
5 datetime Yes NULL Change Change Drop Drop
6 decimal(10,8) Yes NULL Change Change Drop Drop
7 decimal(11,8) Yes NULL Change Change Drop Drop
8 decimal(10,8) Yes NULL Change Change Drop Drop
9 decimal(11,8) Yes NULL Change Change Drop Drop
10 datetime Yes NULL Change Change Drop Drop
11 datetime Yes NULL Change Change Drop Drop
12 enum('PENDING', 'APPROVED', 'REJECTED') utf8mb4_unicode_ci Yes NULL Change Change Drop Drop
13 bigint(20) UNSIGNED Yes NULL Change Change Drop Drop
14 timestamp Yes NULL Change Change Drop Drop
15 text utf8mb4_unicode_ci Yes NULL Change Change Drop Drop
16 text utf8mb4_unicode_ci Yes NULL Change Change Drop Drop
17 decimal(8,2) No 0.00 Change Change Drop Drop
18 decimal(8,2) No 0.00 Change Change Drop Drop
19 enum('PENDING', 'APPROVED', 'REJECTED', 'COMPLETED... utf8mb4_unicode_ci No PENDING Change Change Drop Drop
20 timestamp Yes NULL Change Change Drop Drop
21 timestamp Yes NULL Change Change Drop Drop
22 enum('PENDING', 'APPROVED', 'REJECTED') utf8mb4_unicode_ci Yes PENDING Change Change Drop Drop
23 bigint(20) UNSIGNED Yes NULL Change Change Drop Drop
24 datetime Yes NULL Change Change Drop Drop
25 datetime Yes NULL Change Change Drop Drop
26 datetime Yes NULL Change Change Drop Drop
27 enum('SICK_LEAVE', 'PERSONAL_LEAVE', 'ANNUAL_LEAVE... utf8mb4_unicode_ci Yes NULL Change Change Drop Drop
28 date Yes NULL Change Change Drop Drop
29 date Yes NULL Change Change Drop Drop
30 text utf8mb4_unicode_ci Yes NULL Change Change Drop Drop
31 bigint(20) UNSIGNED Yes NULL Change Change Drop Drop
32 enum('PENDING', 'APPROVED', 'REJECTED') utf8mb4_unicode_ci Yes NULL Change Change Drop Drop
33 timestamp Yes NULL Change Change Drop Drop
34 text utf8mb4_unicode_ci Yes NULL Change Change Drop Drop
35 longtext utf8mb4_bin Yes NULL Change Change Drop Drop
36 longtext utf8mb4_bin 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 2 A No
Edit Edit Rename Rename Drop Drop timesheets_user_id_foreign BTREE No No user_id 2 A No
Edit Edit Rename Rename Drop Drop timesheets_ot_approved_by_foreign BTREE No No ot_approved_by 2 A Yes
Edit Edit Rename Rename Drop Drop timesheets_over_time_approver_id_foreign BTREE No No over_time_approver_id 2 A Yes
Edit Edit Rename Rename Drop Drop timesheets_leave_approver_id_foreign BTREE No No leave_approver_id 2 A Yes
Create an index on columns
Partitions Documentation
Information
Space usage
Data 16.0 KiB
Index 64.0 KiB
Overhead 0 B
Effective 80.0 KiB
Total 80.0 KiB
Optimize table Optimize table
Row statistics
Format dynamic
Collation utf8mb4_unicode_ci
Next autoindex 783
Creation Apr 29, 2026 at 03:11 PM
Last update May 14, 2026 at 02:50 PM
Last check May 14, 2026 at 02:50 PM