QUERY PLAN
Aggregate (cost=6.34..6.35 rows=1 width=32)
-> Hash Join (cost=1.19..6.10 rows=94 width=3)
Hash Cond: (am.erp_provident_fund_id = t.id)
-> Seq Scan on tbl_erp_provident_fund_amounts am (cost=0.00..4.11 rows=211 width=7)
-> Hash (cost=1.14..1.14 rows=4 width=4)
-> Seq Scan on tbl_erp_provident_funds t (cost=0.00..1.14 rows=4 width=4)
Filter: ((verify_at <= '2025-12-31 23:59:59+08'::timestamp with time zone) AND (status = 2))