QUERY PLAN
Aggregate (cost=3.06..3.07 rows=1 width=32)
-> Hash Join (cost=1.25..3.04 rows=7 width=6)
Hash Cond: (t.id = r.erp_other_income_ticket_id)
-> Seq Scan on tbl_erp_other_income_tickets t (cost=0.00..1.60 rows=25 width=4)
Filter: ((verify_at <= '2025-12-31 23:59:59+08'::timestamp with time zone) AND (status = 2))
-> Hash (cost=1.11..1.11 rows=11 width=10)
-> Seq Scan on tbl_erp_other_income_ticket_purchase_contract_settles r (cost=0.00..1.11 rows=11 width=10)