| Aggregate (cost=69.00..69.01 rows=1 width=32) |
| -> Sort (cost=68.83..68.86 rows=11 width=1018) |
| Sort Key: b.is_delete, b.sort |
| -> GroupAggregate (cost=68.42..68.64 rows=11 width=1018) |
| Group Key: b.id |
| -> Sort (cost=68.42..68.45 rows=11 width=41) |
| Sort Key: b.id |
| -> Hash Left Join (cost=67.08..68.23 rows=11 width=41) |
| Hash Cond: (b.id = n.erp_bank_id) |
| -> Seq Scan on tbl_erp_banks b (cost=0.00..1.11 rows=11 width=9) |
| -> Hash (cost=66.99..66.99 rows=7 width=36) |
| -> Subquery Scan on n (cost=66.83..66.99 rows=7 width=36) |
| -> HashAggregate (cost=66.83..66.92 rows=7 width=68) |
| Group Key: t.erp_bank_id |
| -> Seq Scan on tbl_erp_bank_amount_change_logs t (cost=0.00..64.36 rows=496 width=9) |
| 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)) |