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 :
Options
Set default





Collapse Expand Requery Edit Explain Profiling 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

payment

# Name Type Collation Attributes Null Default Comments Extra Action
1 smallint UNSIGNED No None AUTO_INCREMENT Change Change Drop Drop
2 smallint UNSIGNED No None Change Change Drop Drop
3 tinyint UNSIGNED No None Change Change Drop Drop
4 int Yes NULL Change Change Drop Drop
5 decimal(5,2) No None Change Change Drop Drop
6 datetime No None Change Change Drop Drop
7 timestamp on update CURRENT_TIMESTAMP Yes CURRENT_TIMESTAMP DEFAULT_GENERATED ON UPDATE CURRENT_TIMESTAMP 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 payment_id 16500 A No
Edit Edit Rename Rename Drop Drop idx_fk_staff_id BTREE No No staff_id 2 A No
Edit Edit Rename Rename Drop Drop idx_fk_customer_id BTREE No No customer_id 599 A No
Edit Edit Rename Rename Drop Drop fk_payment_rental BTREE No No rental_id 16044 A Yes
Create an index on columns
Partitions Documentation
Information
Space usage
Data 1.5 MiB
Index 624.0 KiB
Overhead 4.0 MiB
Effective -1,966,080 B
Total 2.1 MiB
Optimize table Optimize table
Row statistics
Format dynamic
Collation utf8mb4_0900_ai_ci
Next autoindex 16,050
Creation Sep 24, 2026 at 07:17 PM
Last update Nov 02, 2026 at 06:20 PM
Last check Nov 02, 2026 at 06:20 PM