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

users

# Name Type Collation Attributes Null Default Comments Extra Action
1 int(11) No None AUTO_INCREMENT Change Change Drop Drop
2 varchar(20) utf8mb4_unicode_ci No None Change Change Drop Drop
3 varchar(100) utf8mb4_unicode_ci No None Change Change Drop Drop
4 varchar(150) utf8mb4_unicode_ci Yes NULL Change Change Drop Drop
5 enum('male', 'female') utf8mb4_unicode_ci Yes NULL Change Change Drop Drop
6 date Yes NULL Change Change Drop Drop
7 varchar(20) utf8mb4_unicode_ci Yes NULL Change Change Drop Drop
8 int(11) Yes NULL Change Change Drop Drop
9 int(11) Yes NULL Change Change Drop Drop
10 int(11) Yes 1 Change Change Drop Drop
11 enum('Staff', 'Leader', 'Foreman', 'Supervisor', '... utf8mb4_unicode_ci Yes Staff Change Change Drop Drop
12 enum('user', 'hr_admin', 'admin') utf8mb4_unicode_ci Yes user Change Change Drop Drop
13 int(11) Yes NULL Change Change Drop Drop
14 int(11) Yes NULL Change Change Drop Drop
15 varchar(255) utf8mb4_unicode_ci No None Change Change Drop Drop
16 varchar(255) utf8mb4_unicode_ci Yes NULL Change Change Drop Drop
17 varchar(150) utf8mb4_unicode_ci Yes NULL Change Change Drop Drop
18 enum('active', 'inactive', 'pending') utf8mb4_unicode_ci Yes pending Change Change Drop Drop
19 datetime Yes NULL Change Change Drop Drop
20 datetime Yes current_timestamp() Change Change Drop Drop
21 datetime Yes NULL Change Change Drop Drop
22 varchar(64) utf8mb4_unicode_ci Yes NULL Change Change Drop Drop
23 varchar(64) utf8mb4_unicode_ci Yes NULL Change Change Drop Drop
24 int(11) No 0 Change Change Drop Drop
25 datetime Yes NULL Change Change Drop Drop
26 int(11) No 0 Change Change Drop Drop
27 datetime Yes NULL Change Change Drop Drop
28 tinyint(1) No 0 Change Change Drop Drop
29 int(11) No 0 Change Change Drop Drop
30 datetime 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 69 A No
Edit Edit Rename Rename Drop Drop emp_id BTREE Yes No emp_id 69 A No
Edit Edit Rename Rename Drop Drop position_id BTREE No No position_id 2 A Yes
Edit Edit Rename Rename Drop Drop approver_id BTREE No No approver_id 2 A Yes
Edit Edit Rename Rename Drop Drop leave_approver_id BTREE No No leave_approver_id 2 A Yes
Edit Edit Rename Rename Drop Drop idx_users_emp_id BTREE No No emp_id 69 A No
Edit Edit Rename Rename Drop Drop idx_users_phone BTREE No No phone 69 A Yes
Edit Edit Rename Rename Drop Drop idx_users_dept BTREE No No department_id 69 A Yes
Edit Edit Rename Rename Drop Drop idx_users_status BTREE No No status 4 A Yes
Edit Edit Rename Rename Drop Drop fk_direct_supervisor BTREE No No direct_supervisor_id 17 A Yes
Create an index on columns
Partitions Documentation
Information
Space usage
Data 48.0 KiB
Index 144.0 KiB
Overhead 0 B
Effective 192.0 KiB
Total 192.0 KiB
Optimize table Optimize table
Row statistics
Format dynamic
Collation utf8mb4_unicode_ci
Next autoindex 117
Creation Sep 17, 2026 at 01:16 PM
Last update Sep 28, 2026 at 10:32 AM
Last check Sep 28, 2026 at 07:59 AM