QUERY PLAN
Sort (cost=16.82..17.26 rows=177 width=20)
Sort Key: serial_no, id
-> Seq Scan on tbl_ledger_account_captions (cost=0.00..10.21 rows=177 width=20)
Filter: (ledger_id = 1)