QUERY PLAN
Aggregate (cost=2.31..2.32 rows=1 width=32)
-> Hash Join (cost=1.14..2.30 rows=1 width=32)
Hash Cond: (t.id = r.erp_wage_ticket_id)
-> Seq Scan on tbl_erp_wage_tickets t (cost=0.00..1.14 rows=5 width=4)
Filter: (status = 2)
-> Hash (cost=1.10..1.10 rows=3 width=36)
-> Seq Scan on tbl_erp_wage_ticket_bank_outs r (cost=0.00..1.10 rows=3 width=36)
Filter: (settle_at <= '2025-12-31 23:59:59+08'::timestamp with time zone)