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