| Aggregate (cost=68.24..68.25 rows=1 width=32) |
| -> Sort (cost=68.13..68.15 rows=7 width=1018) |
| Sort Key: b.is_delete, b.sort |
| -> GroupAggregate (cost=67.89..68.03 rows=7 width=1018) |
| Group Key: b.id |
| -> Sort (cost=67.89..67.91 rows=7 width=41) |
| Sort Key: b.id |
| -> Hash Left Join (cost=66.69..67.79 rows=7 width=41) |
| Hash Cond: (b.id = n.erp_bank_id) |
| -> Seq Scan on tbl_erp_banks b (cost=0.00..1.07 rows=7 width=9) |
| -> Hash (cost=66.61..66.61 rows=7 width=36) |
| -> Subquery Scan on n (cost=66.45..66.61 rows=7 width=36) |
| -> HashAggregate (cost=66.45..66.54 rows=7 width=68) |
| Group Key: t.erp_bank_id |
| -> Seq Scan on tbl_erp_bank_amount_change_logs t (cost=0.00..64.16 rows=458 width=10) |
| Filter: ((settle_at >= '2026-01-01 00:00:00+08'::timestamp with time zone) AND (settle_at <= '2026-12-31 23:59:59+08'::timestamp with time zone)) |