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

bookings

# 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 Yes NULL Change Change Drop Drop
3 datetime Yes NULL Change Change Drop Drop
4 varchar(20) utf8mb4_unicode_ci Yes NULL Change Change Drop Drop
5 int(11) No None Change Change Drop Drop
6 int(11) No None Change Change Drop Drop
7 enum('hotel', 'meeting') utf8mb4_unicode_ci No None Change Change Drop Drop
8 date No None Change Change Drop Drop
9 date No None Change Change Drop Drop
10 date Yes NULL Change Change Drop Drop
11 time Yes NULL Change Change Drop Drop
12 time Yes NULL Change Change Drop Drop
13 decimal(10,2) No None Change Change Drop Drop
14 decimal(10,2) Yes 0.00 Change Change Drop Drop
15 decimal(10,2) Yes 0.00 Change Change Drop Drop
16 enum('pending', 'confirmed', 'checked_in', 'checke... utf8mb4_unicode_ci Yes pending Change Change Drop Drop
17 enum('unpaid', 'paid') utf8mb4_unicode_ci Yes unpaid Change Change Drop Drop
18 enum('cash', 'transfer', 'card') utf8mb4_unicode_ci Yes NULL Change Change Drop Drop
19 datetime Yes NULL Change Change Drop Drop
20 int(11) Yes NULL Change Change Drop Drop
21 enum('none', 'amount', 'percent') utf8mb4_unicode_ci Yes none Change Change Drop Drop
22 decimal(10,2) Yes 0.00 Change Change Drop Drop
23 varchar(255) utf8mb4_unicode_ci Yes NULL Change Change Drop Drop
24 text utf8mb4_unicode_ci Yes NULL Change Change Drop Drop
25 timestamp No current_timestamp() Change Change Drop Drop
26 varchar(255) utf8mb4_unicode_ci 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 73 A No
Edit Edit Rename Rename Drop Drop room_id BTREE No No room_id 73 A No
Edit Edit Rename Rename Drop Drop customer_id BTREE No No customer_id 73 A No
Create an index on columns
Partitions Documentation
Information
Space usage
Data 32.0 KiB
Index 32.0 KiB
Overhead 0 B
Effective 64.0 KiB
Total 64.0 KiB
Optimize table Optimize table
Row statistics
Format dynamic
Collation utf8mb4_unicode_ci
Next autoindex 94
Creation May 26, 2026 at 12:43 PM
Last update May 29, 2026 at 07:23 PM
Last check Jun 03, 2026 at 03:38 PM