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

purchase_entries_old

# Name Type Collation Attributes Null Default Comments Extra Action
1 bigint(20) UNSIGNED No None AUTO_INCREMENT Change Change Drop Drop
2 varchar(50) utf8mb4_unicode_ci No None Change Change Drop Drop
3 tinyint(1) No None 1: Draft, 2: Quotation, 3: Purchase, 4: Cancelled Change Change Drop Drop
4 date No None Change Change Drop Drop
5 date Yes NULL Change Change Drop Drop
6 int(10) UNSIGNED No None Change Change Drop Drop
7 int(10) UNSIGNED No None Change Change Drop Drop
8 int(10) UNSIGNED No None Change Change Drop Drop
9 varchar(50) utf8mb4_unicode_ci Yes NULL Change Change Drop Drop
10 date No None Change Change Drop Drop
11 decimal(12,2) No 0.00 Change Change Drop Drop
12 decimal(12,2) No 0.00 Change Change Drop Drop
13 int(11) Yes NULL Change Change Drop Drop
14 decimal(12,2) Yes NULL STORED GENERATED Change Change Drop Drop
15 decimal(12,2) Yes NULL STORED GENERATED Change Change Drop Drop
16 decimal(12,2) No 0.00 Change Change Drop Drop
17 decimal(12,2) No 0.00 Change Change Drop Drop
18 decimal(12,2) No 0.00 Change Change Drop Drop
19 decimal(12,2) No 0.00 Change Change Drop Drop
20 decimal(12,2) No 0.00 Change Change Drop Drop
21 decimal(12,2) No 0.00 Change Change Drop Drop
22 decimal(12,2) No 0.00 Change Change Drop Drop
23 enum('Pending', 'Partial', 'Paid') utf8mb4_unicode_ci Yes NULL Change Change Drop Drop
24 text utf8mb4_unicode_ci Yes NULL Change Change Drop Drop
25 int(11) No None Change Change Drop Drop
26 tinyint(1) No 0 0: Active, 1: Deleted Change Change Drop Drop
27 datetime No current_timestamp() Change Change Drop Drop
28 datetime Yes NULL 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 id 1232 A No
Edit Edit Rename Rename Drop Drop idx_voucher_date BTREE No No voucher_date 616 A No
branch_id 616 A No
Edit Edit Rename Rename Drop Drop idx_ledger_id BTREE No No ledger_id 88 A No
Edit Edit Rename Rename Drop Drop idx_voucher_type BTREE No No voucher_type 2 A No
Edit Edit Rename Rename Drop Drop idx_payment_status BTREE No No payment_status 2 A Yes
Edit Edit Rename Rename Drop Drop idx_invoice_no BTREE No No invoice_no 1232 A Yes
Edit Edit Rename Rename Drop Drop idx_taxable_amount BTREE No No taxable_amount 18 A Yes
Edit Edit Rename Rename Drop Drop idx_total_amount BTREE No No total_amount 18 A Yes
Create an index on columns
Partitions Documentation
Information
Space usage
Data 240.0 KiB
Index 432.0 KiB
Overhead 0 B
Effective 672.0 KiB
Total 672.0 KiB
Optimise table Optimise table
Row statistics
Format dynamic
Collation utf8mb4_unicode_ci
Next autoindex 1,233
Creation Apr 06, 2026 at 12:45 AM
Last update Apr 17, 2026 at 01:47 PM
Last check Apr 17, 2026 at 01:47 PM