| Aggregate (cost=75.83..75.84 rows=1 width=32) |
| -> Nested Loop Left Join (cost=73.14..75.81 rows=1 width=70) |
| Join Filter: (t.id = b.id) |
| -> Nested Loop Left Join (cost=73.14..74.54 rows=1 width=68) |
| Join Filter: (t_1.erp_bank_id = b.id) |
| -> Seq Scan on tbl_erp_banks b (cost=0.00..1.14 rows=1 width=4) |
| Filter: (erp_account_caption_id = 105) |
| -> HashAggregate (cost=73.14..73.24 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.96 rows=1757 width=15) |
| Filter: (settle_at <= '2026-06-30 23:59:59+08'::timestamp with time zone) |
| -> Seq Scan on tbl_erp_banks t (cost=0.00..1.14 rows=11 width=10) |
| Filter: (created_at <= '2026-06-30 23:59:59+08'::timestamp with time zone) |