QUERY PLAN
Aggregate (cost=28.68..28.69 rows=1 width=4)
-> Seq Scan on tbl_erp_settles (cost=0.00..26.60 rows=830 width=4)
Filter: is_settle