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(50) utf8mb4_unicode_ci No None Change Change Drop Drop
3 int(11) No None Change Change Drop Drop
4 int(11) No None Change Change Drop Drop
5 enum('walk_in_baru', 'walk_in_extension', 'walk_in... utf8mb4_unicode_ci No walk_in_baru Change Change Drop Drop
6 date No None Change Change Drop Drop
7 time Yes NULL Change Change Drop Drop
8 date No None Change Change Drop Drop
9 time Yes NULL Change Change Drop Drop
10 enum('day', 'hour') utf8mb4_unicode_ci Yes day Change Change Drop Drop
11 tinyint(1) No 0 Change Change Drop Drop
12 decimal(10,2) No 0.00 Change Change Drop Drop
13 decimal(10,2) Yes 0.00 Change Change Drop Drop
14 date Yes NULL Change Change Drop Drop
15 time Yes NULL Change Change Drop Drop
16 int(11) No 1 Change Change Drop Drop
17 decimal(10,2) No 0.00 Change Change Drop Drop
18 decimal(10,2) Yes 0.00 Change Change Drop Drop
19 decimal(10,2) No 0.00 Change Change Drop Drop
20 decimal(10,2) Yes 0.00 Change Change Drop Drop
21 decimal(10,2) No 0.00 Change Change Drop Drop
22 decimal(10,2) Yes 0.00 Change Change Drop Drop
23 decimal(10,2) Yes 0.00 Change Change Drop Drop
24 enum('none', 'pending', 'refunded') utf8mb4_unicode_ci Yes none Change Change Drop Drop
25 date Yes NULL Change Change Drop Drop
26 varchar(255) utf8mb4_unicode_ci Yes NULL Change Change Drop Drop
27 text utf8mb4_unicode_ci Yes NULL Change Change Drop Drop
28 decimal(10,2) No 0.00 Change Change Drop Drop
29 text utf8mb4_unicode_ci Yes NULL Change Change Drop Drop
30 decimal(10,2) No 0.00 Change Change Drop Drop
31 enum('credit_card', 'bank_transfer', 'cash') utf8mb4_unicode_ci Yes NULL Change Change Drop Drop
32 varchar(100) utf8mb4_unicode_ci Yes NULL Change Change Drop Drop
33 varchar(255) utf8mb4_unicode_ci Yes NULL Change Change Drop Drop
34 enum('received', 'not_received', 'refunded') utf8mb4_unicode_ci No not_received Change Change Drop Drop
35 decimal(10,2) Yes 0.00 Change Change Drop Drop
36 date Yes NULL Change Change Drop Drop
37 varchar(255) utf8mb4_unicode_ci Yes NULL Change Change Drop Drop
38 enum('credit_card', 'bank_transfer', 'cash') utf8mb4_unicode_ci Yes NULL Change Change Drop Drop
39 varchar(100) utf8mb4_unicode_ci Yes NULL Change Change Drop Drop
40 varchar(255) utf8mb4_unicode_ci Yes NULL Change Change Drop Drop
41 enum('paid', 'unpaid', 'partial') utf8mb4_unicode_ci No unpaid Change Change Drop Drop
42 decimal(10,2) No 0.00 Change Change Drop Drop
43 decimal(10,2) No 0.00 Change Change Drop Drop
44 date Yes NULL Change Change Drop Drop
45 enum('active', 'completed', 'cancelled', 'extended... utf8mb4_unicode_ci No active Change Change Drop Drop
46 varchar(50) utf8mb4_unicode_ci Yes NULL Change Change Drop Drop
47 text utf8mb4_unicode_ci Yes NULL Change Change Drop Drop
48 text utf8mb4_unicode_ci Yes NULL Change Change Drop Drop
49 text utf8mb4_unicode_ci Yes NULL Change Change Drop Drop
50 int(11) Yes NULL Change Change Drop Drop
51 datetime No current_timestamp() Change Change Drop Drop
52 datetime No current_timestamp() ON UPDATE CURRENT_TIMESTAMP() Change Change Drop Drop
53 int(11) Yes NULL Change Change Drop Drop
54 varchar(255) utf8mb4_unicode_ci Yes NULL Change Change Drop Drop
55 int(11) Yes NULL Change Change Drop Drop
56 varchar(255) utf8mb4_unicode_ci Yes NULL Change Change Drop Drop
57 varchar(10) utf8mb4_unicode_ci No none 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 booking_id 0 A No
Edit Edit Rename Rename Drop Drop receipt_no BTREE Yes No receipt_no 0 A No
Edit Edit Rename Rename Drop Drop idx_bookings_status BTREE No No booking_status 0 A No
Edit Edit Rename Rename Drop Drop idx_bookings_receipt BTREE No No receipt_no 0 A No
Edit Edit Rename Rename Drop Drop idx_bookings_dates BTREE No No start_date 0 A No
expected_end_date 0 A No
Edit Edit Rename Rename Drop Drop idx_bookings_customer BTREE No No customer_id 0 A No
Edit Edit Rename Rename Drop Drop idx_bookings_vehicle BTREE No No vehicle_id 0 A No
Create an index on columns
Partitions Documentation
Information
Space usage
Data 16.0 KiB
Index 96.0 KiB
Overhead 0 B
Effective 112.0 KiB
Total 112.0 KiB
Optimize table Optimize table
Row statistics
Format dynamic
Collation utf8mb4_unicode_ci
Next autoindex 3
Creation Jul 30, 2026 at 08:22 AM
Last update Jul 31, 2026 at 09:45 AM
Last check Jul 31, 2026 at 09:45 AM