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

ledger_postings

# Name Type Collation Attributes Null Default Comments Extra Action
1 bigint(20) UNSIGNED No None AUTO_INCREMENT Change Change Drop Drop
2 date No None Change Change Drop Drop
3 date Yes NULL Change Change Drop Drop
4 bigint(20) No None Change Change Drop Drop
5 varchar(50) utf8mb4_unicode_ci No None Change Change Drop Drop
6 bigint(20) UNSIGNED No None Change Change Drop Drop
7 date Yes NULL Change Change Drop Drop
8 bigint(20) UNSIGNED Yes NULL Change Change Drop Drop
9 enum('CR', 'DR') utf8mb4_unicode_ci No CR Change Change Drop Drop
10 decimal(18,2) No 0.00 Change Change Drop Drop
11 decimal(18,2) No 0.00 Change Change Drop Drop
12 int(10) UNSIGNED No None Change Change Drop Drop
13 int(10) UNSIGNED No None Change Change Drop Drop
14 bigint(20) UNSIGNED No None Change Change Drop Drop
15 text utf8mb4_unicode_ci Yes NULL Change Change Drop Drop
16 tinyint(4) No None Change Change Drop Drop
17 tinyint(4) No None Change Change Drop Drop
18 enum('Cash', 'Bank', 'Party') utf8mb4_unicode_ci No None Change Change Drop Drop
19 enum('By', 'To') utf8mb4_unicode_ci No None Change Change Drop Drop
20 enum('Y', 'N') utf8mb4_unicode_ci No N Change Change Drop Drop
21 bigint(20) UNSIGNED Yes NULL Change Change Drop Drop
22 datetime Yes current_timestamp() Change Change Drop Drop
23 datetime Yes current_timestamp() ON UPDATE CURRENT_TIMESTAMP() Change Change Drop Drop
24 tinyint(1) Yes 0 Change Change Drop Drop
25 enum('Y', 'N') utf8mb4_unicode_ci Yes N Change Change Drop Drop
26 int(11) Yes NULL Change Change Drop Drop
27 datetime 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 62072 A No
Edit Edit Rename Rename Drop Drop idx_posting_date BTREE No No posting_date 288 A No
Edit Edit Rename Rename Drop Drop idx_ledger BTREE No No ledger_id 2069 A Yes
Edit Edit Rename Rename Drop Drop idx_branch BTREE No No branch_id 2 A No
Edit Edit Rename Rename Drop Drop idx_finance_year BTREE No No finance_year_id 2 A No
Edit Edit Rename Rename Drop Drop idx_voucher BTREE No No voucher_no 10345 A No
Edit Edit Rename Rename Drop Drop idx_branch_fy_ledger_date_cancel BTREE No No branch_id 2 A No
finance_year_id 2 A No
ledger_id 1477 A Yes
posting_date 12414 A No
delete_status 20690 A Yes
is_cancelled 31036 A Yes
Edit Edit Rename Rename Drop Drop idx_rpt_1 BTREE No No branch_id 2 A No
finance_year_id 2 A No
ledger_id 1591 A Yes
posting_date 15518 A No
delete_status 20690 A Yes
is_cancelled 20690 A Yes
Edit Edit Rename Rename Drop Drop idx_rpt_2 BTREE No No branch_id 2 A No
finance_year_id 2 A No
posting_date 574 A No
ledger_id 12414 A Yes
Edit Edit Rename Rename Drop Drop idx_rpt_ledger_date BTREE No No branch_id 2 A No
finance_year_id 2 A No
ledger_id 1551 A Yes
posting_date 10345 A No
delete_status 31036 A Yes
is_cancelled 31036 A Yes
Edit Edit Rename Rename Drop Drop idx_tb_voucher_fast BTREE No No branch_id 2 A No
finance_year_id 2 A No
ledger_id 2002 A Yes
txn_date 6896 A Yes
delete_status 15518 A Yes
voucher_id 62072 A No
sort_order 62072 A No
id 62072 A No
Edit Edit Rename Rename Drop Drop idx_ledger_filter_order BTREE No No delete_status 2 A Yes
ledger_id 3651 A Yes
finance_year_id 3448 A No
branch_id 2698 A No
posting_date 20690 A No
id 62072 A No
Edit Edit Rename Rename Drop Drop idx_daybook_fast BTREE No No branch_id 2 A No
finance_year_id 2 A No
voucher_date 521 A Yes
delete_status 1001 A Yes
voucher_id 31036 A No
voucher_type_id 31036 A No
sort_order 62072 A No
ledger_id 62072 A Yes
Create an index on columns
Partitions Documentation
Information
Space usage
Data 9.5 MiB
Index 50.2 MiB
Overhead 5.0 MiB
Effective 54.7 MiB
Total 59.7 MiB
Optimize table Optimize table
Row statistics
Format dynamic
Collation utf8mb4_unicode_ci
Next autoindex 73,141
Creation Sep 07, 2026 at 09:39 AM
Last update Sep 29, 2026 at 10:36 PM
Last check Sep 29, 2026 at 10:36 PM