QUERY PLAN
Aggregate (cost=2.52..2.53 rows=1 width=32)
-> Hash Join (cost=1.30..2.51 rows=1 width=32)
Hash Cond: (r.erp_other_income_ticket_id = t.id)
-> Seq Scan on tbl_erp_other_income_ticket_bank_ins r (cost=0.00..1.16 rows=16 width=36)
-> Hash (cost=1.28..1.28 rows=1 width=4)
-> Seq Scan on tbl_erp_other_income_tickets t (cost=0.00..1.28 rows=1 width=4)
Filter: ((verify_at <= '2025-12-31 23:59:59+08'::timestamp with time zone) AND (status = 2))