| Aggregate (cost=76.66..76.67 rows=1 width=32) |
| -> Sort (cost=76.55..76.57 rows=7 width=1018) |
| Sort Key: b.is_delete, b.sort |
| -> GroupAggregate (cost=74.32..76.45 rows=7 width=1018) |
| Group Key: b.id |
| -> Nested Loop Left Join (cost=74.32..76.22 rows=7 width=81) |
| Join Filter: (t.id = b.id) |
| -> Merge Left Join (cost=74.32..74.46 rows=7 width=73) |
| Merge Cond: (b.id = f.erp_bank_id) |
| -> Sort (cost=1.17..1.19 rows=7 width=9) |
| Sort Key: b.id |
| -> Seq Scan on tbl_erp_banks b (cost=0.00..1.07 rows=7 width=9) |
| -> Sort (cost=73.15..73.17 rows=7 width=68) |
| Sort Key: f.erp_bank_id |
| -> Subquery Scan on f (cost=72.88..73.05 rows=7 width=68) |
| -> HashAggregate (cost=72.88..72.98 rows=7 width=68) |
| Group Key: t_1.erp_bank_id |
| -> Seq Scan on tbl_erp_bank_amount_change_logs t_1 (cost=0.00..59.80 rows=1744 width=15) |
| Filter: (settle_at <= '2026-12-31 23:59:59+08'::timestamp with time zone) |
| -> Materialize (cost=0.00..1.12 rows=7 width=12) |
| -> Seq Scan on tbl_erp_banks t (cost=0.00..1.09 rows=7 width=12) |
| Filter: (created_at <= '2026-12-31 23:59:59+08'::timestamp with time zone) |