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