QUERY PLAN
Aggregate (cost=8.16..8.18 rows=1 width=4)
-> Index Scan using idx_tbl_ledger_banks_erp_bank_id on tbl_ledger_banks (cost=0.14..8.16 rows=1 width=4)
Index Cond: (ledger_id = 1)