Recent
`ggth_erp`.`rental_agreements`
`ggth_erp`.`cr_audit_logs`
`ggth_erp`.`ticketing_audit_log`
`ggth_erp`.`failed_login_logs`
`ggth_erp`.`audit_logs`
`ggth_erp`.`system_notices`
`ggth_erp`.`notifications`
`ggth_erp`.`cr_system_settings`
`ggth_erp`.`vehicle_maintenance`
`ggth_erp`.`ticketing_sales`
Favorites
There are no favorite tables.
New
ggth_erp
information_schema
mysql
performance_schema
phpmyadmin
test
Navigation panel
Navigation tree
Servers
Databases
Tables
Navigation panel
Customize appearance of the navigation panel.
Navigation panel
Show databases navigation as tree
In the navigation panel, replaces the database tree with a selector
Link with main panel
Link with main panel by highlighting the current database or table.
Display logo
Show logo in navigation panel.
Logo link URL
URL where logo in the navigation panel will point to.
Logo link target
Open the linked page in the main window (
main
) or in a new one (
new
).
main
new
Enable highlighting
Highlight server under the mouse cursor.
Maximum items on first level
The number of items that can be displayed on each page on the first level of the navigation tree.
Minimum number of items to display the filter box
Defines the minimum number of items (tables, views, routines and events) to display a filter box.
Recently used tables
Maximum number of recently used tables; set 0 to disable.
Favorite tables
Maximum number of favorite tables; set 0 to disable.
Navigation panel width
Set to 0 to collapse navigation panel.
Navigation tree
Customize the navigation tree.
Navigation tree
Maximum items in branch
The number of items that can be displayed on each page of the navigation tree.
Group items in the tree
Group items in the navigation tree (determined by the separator defined in the Databases and Tables tabs above).
Enable navigation tree expansion
Whether to offer the possibility of tree expansion in the navigation panel.
Show tables in tree
Whether to show tables under database in the navigation tree
Show views in tree
Whether to show views under database in the navigation tree
Show functions in tree
Whether to show functions under database in the navigation tree
Show procedures in tree
Whether to show procedures under database in the navigation tree
Show events in tree
Whether to show events under database in the navigation tree
Expand single database
Whether to expand single database in the navigation tree automatically.
Servers
Servers display options.
Servers
Display servers selection
Display server choice at the top of the navigation panel.
Display servers as a list
Show server listing as a list instead of a drop down.
Databases
Databases display options.
Databases
Minimum number of databases to display the database filter box
Database tree separator
String that separates databases into different tree levels.
Tables
Tables display options.
Tables
Target for quick access icon
Structure
SQL
Search
Insert
Browse
Target for second quick access icon
Structure
SQL
Search
Insert
Browse
Table tree separator
String that separates tables into different tree levels.
Maximum table tree depth
Drop files here
SQL upload (
0
)
x
-
Show hidden navigation tree items.
Create view
Javascript must be enabled past this point!
Server: 127.0.0.1
Database: ggth_erp
Table: rental_agreements
Browse
Structure
(current)
SQL
Search
Insert
Export
Import
Privileges
Operations
Tracking
Triggers
Console
Clear
History
Options
Bookmarks
Debug SQL
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
Label:
Target database:
Share this bookmark
OK
Options
Set default
Always expand query messages
Show query history at start
Show current browsing query
Execute queries on Enter and insert new line with Shift+Enter. To make this permanent, view settings.
Switch to dark theme
Collapse
Expand
Requery
Edit
Explain
Profiling
Bookmark
Query failed
Database :
Queried time :
Loading
ENUM/SET editor
Create view
Table structure
Table structure
Settings for the table structure (list of columns).
Table structure
Hide table structure actions
Whether the table structure actions should be hidden.
Show column comments
Whether column comments should be shown in table structure view
Default transformations
Default transformations for Hex
Values for options list for default transformations. These will be overwritten if transformation is filled in at table structure page.
2
Default transformations for Substring
Values for options list for default transformations. These will be overwritten if transformation is filled in at table structure page.
0 all …
Default transformations for Bool2Text
Values for options list for default transformations. These will be overwritten if transformation is filled in at table structure page.
T F
Default transformations for External
Values for options list for default transformations. These will be overwritten if transformation is filled in at table structure page.
0 -f /dev/null -i -wrap -q 1 1
Default transformations for PreApPend
Values for options list for default transformations. These will be overwritten if transformation is filled in at table structure page.
Default transformations for DateFormat
Values for options list for default transformations. These will be overwritten if transformation is filled in at table structure page.
0 local
Default transformations for Inline
Values for options list for default transformations. These will be overwritten if transformation is filled in at table structure page.
100 100
Default transformations for TextImageLink
Values for options list for default transformations. These will be overwritten if transformation is filled in at table structure page.
100 50
Default transformations for TextLink
Values for options list for default transformations. These will be overwritten if transformation is filled in at table structure page.
Table structure
Relation view
rental_agreements
#
Name
Type
Collation
Attributes
Null
Default
Comments
Extra
Action
1
agreement_id
int(11)
No
None
AUTO_INCREMENT
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
2
agreement_no
varchar(50)
utf8mb4_unicode_ci
No
None
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
3
booking_id
int(11)
No
None
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
4
customer_id
int(11)
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
5
vehicle_id
int(11)
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
6
generated_by
int(11)
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
7
confirmed_by
int(11)
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
8
status
enum('Draft', 'Confirmed', 'Cancelled')
utf8mb4_unicode_ci
Yes
Draft
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
9
customer_name
varchar(150)
utf8mb4_unicode_ci
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
10
customer_ic
varchar(50)
utf8mb4_unicode_ci
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
11
customer_phone
varchar(50)
utf8mb4_unicode_ci
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
12
customer_email
varchar(150)
utf8mb4_unicode_ci
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
13
customer_address
text
utf8mb4_unicode_ci
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
14
license_no
varchar(100)
utf8mb4_unicode_ci
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
15
license_expiry
date
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
16
additional_driver_name
varchar(150)
utf8mb4_unicode_ci
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
17
additional_driver_ic
varchar(50)
utf8mb4_unicode_ci
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
18
additional_driver_phone
varchar(50)
utf8mb4_unicode_ci
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
19
additional_driver_address
text
utf8mb4_unicode_ci
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
20
additional_driver_license_no
varchar(100)
utf8mb4_unicode_ci
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
21
additional_driver_license_expiry
date
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
22
vehicle_plate
varchar(50)
utf8mb4_unicode_ci
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
23
vehicle_brand
varchar(100)
utf8mb4_unicode_ci
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
24
vehicle_model
varchar(100)
utf8mb4_unicode_ci
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
25
vehicle_color
varchar(50)
utf8mb4_unicode_ci
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
26
vehicle_year
varchar(20)
utf8mb4_unicode_ci
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
27
rental_start_datetime
datetime
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
28
rental_end_datetime
datetime
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
29
pickup_location
varchar(255)
utf8mb4_unicode_ci
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
30
return_location
varchar(255)
utf8mb4_unicode_ci
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
31
mileage_out
int(11)
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
32
mileage_in
int(11)
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
33
fuel_level_out
varchar(50)
utf8mb4_unicode_ci
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
34
fuel_level_in
varchar(50)
utf8mb4_unicode_ci
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
35
destination
varchar(255)
utf8mb4_unicode_ci
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
36
daily_rate
decimal(10,2)
Yes
0.00
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
37
weekly_rate
decimal(10,2)
Yes
0.00
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
38
monthly_rate
decimal(10,2)
Yes
0.00
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
39
extra_hour_charge
decimal(10,2)
Yes
0.00
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
40
delivery_fee
decimal(10,2)
Yes
0.00
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
41
collection_fee
decimal(10,2)
Yes
0.00
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
42
service_tax
decimal(10,2)
Yes
0.00
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
43
insurance_fee
decimal(10,2)
Yes
0.00
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
44
miscellaneous_fee
decimal(10,2)
Yes
0.00
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
45
total_amount
decimal(10,2)
Yes
0.00
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
46
deposit_amount
decimal(10,2)
Yes
0.00
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
47
amount_paid
decimal(10,2)
Yes
0.00
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
48
balance_amount
decimal(10,2)
Yes
0.00
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
49
payment_method
varchar(100)
utf8mb4_unicode_ci
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
50
accessories_json
text
utf8mb4_unicode_ci
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
51
inspection_checklist_json
text
utf8mb4_unicode_ci
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
52
general_remarks
text
utf8mb4_unicode_ci
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
53
customer_remarks
text
utf8mb4_unicode_ci
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
54
staff_remarks
text
utf8mb4_unicode_ci
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
55
customer_signature_name
varchar(150)
utf8mb4_unicode_ci
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
56
staff_signature_name
varchar(150)
utf8mb4_unicode_ci
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
57
confirmed_at
datetime
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
58
cancelled_at
datetime
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
59
created_at
datetime
Yes
current_timestamp()
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
60
updated_at
datetime
Yes
current_timestamp()
ON UPDATE CURRENT_TIMESTAMP()
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
Check all
With selected:
Browse
Change
Drop
Primary
Unique
Index
Spatial
Fulltext
Add to central columns
Remove from central columns
Move columns
Move the columns by dragging them up and down.
Preview SQL
Loading…
Error
Print
Propose table structure
Track table
Move columns
Normalize
Add
column(s)
at beginning of table
after agreement_id
after agreement_no
after booking_id
after customer_id
after vehicle_id
after generated_by
after confirmed_by
after status
after customer_name
after customer_ic
after customer_phone
after customer_email
after customer_address
after license_no
after license_expiry
after additional_driver_name
after additional_driver_ic
after additional_driver_phone
after additional_driver_address
after additional_driver_license_no
after additional_driver_license_expiry
after vehicle_plate
after vehicle_brand
after vehicle_model
after vehicle_color
after vehicle_year
after rental_start_datetime
after rental_end_datetime
after pickup_location
after return_location
after mileage_out
after mileage_in
after fuel_level_out
after fuel_level_in
after destination
after daily_rate
after weekly_rate
after monthly_rate
after extra_hour_charge
after delivery_fee
after collection_fee
after service_tax
after insurance_fee
after miscellaneous_fee
after total_amount
after deposit_amount
after amount_paid
after balance_amount
after payment_method
after accessories_json
after inspection_checklist_json
after general_remarks
after customer_remarks
after staff_remarks
after customer_signature_name
after staff_signature_name
after confirmed_at
after cancelled_at
after created_at
after updated_at
Indexes
Loading
Action
Keyname
Type
Unique
Packed
Column
Cardinality
Collation
Null
Comment
Edit
Rename
Drop
PRIMARY
BTREE
Yes
No
agreement_id
0
A
No
Edit
Rename
Drop
agreement_no
BTREE
Yes
No
agreement_no
0
A
No
Edit
Rename
Drop
booking_id
BTREE
No
No
booking_id
0
A
No
Edit
Rename
Drop
customer_id
BTREE
No
No
customer_id
0
A
Yes
Edit
Rename
Drop
vehicle_id
BTREE
No
No
vehicle_id
0
A
Yes
Edit
Rename
Drop
generated_by
BTREE
No
No
generated_by
0
A
Yes
Create an index on
columns
Loading
Preview SQL
Loading…
Partitions
No partitioning defined!
Information
Space usage
Data
16.0
KiB
Index
80.0
KiB
Overhead
0
B
Effective
96.0
KiB
Total
96.0
KiB
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