QUERY PLAN
Aggregate (cost=1.60..1.61 rows=1 width=8)
-> Sort (cost=1.44..1.47 rows=11 width=1018)
Sort Key: b.is_delete, b.sort
-> HashAggregate (cost=1.14..1.25 rows=11 width=1018)
Group Key: b.id
-> Seq Scan on tbl_erp_banks b (cost=0.00..1.11 rows=11 width=9)