QUERY PLAN
Aggregate (cost=3.12..3.13 rows=1 width=32)
-> Hash Join (cost=1.15..3.10 rows=8 width=6)
Hash Cond: (am.erp_personal_tax_id = t.id)
-> Seq Scan on tbl_erp_personal_tax_amounts am (cost=0.00..1.68 rows=68 width=10)
-> Hash (cost=1.14..1.14 rows=1 width=4)
-> Seq Scan on tbl_erp_personal_taxs t (cost=0.00..1.14 rows=1 width=4)
Filter: ((verify_at >= '2026-06-01 00:00:00+08'::timestamp with time zone) AND (verify_at <= '2026-06-30 23:59:59+08'::timestamp with time zone) AND (status = 2))