QUERY PLAN
Sort (cost=10.66..10.67 rows=1 width=100)
Sort Key: serial_no, id
-> Seq Scan on tbl_ledger_account_captions (cost=0.00..10.65 rows=1 width=100)
Filter: ((ledger_id = 1) AND (parent_id = 9))