QUERY PLAN
Aggregate (cost=3.61..3.62 rows=1 width=32)
-> Hash Join (cost=1.23..3.51 rows=38 width=3)
Hash Cond: (am.erp_personal_tax_id = t.id)
-> Seq Scan on tbl_erp_personal_tax_amounts am (cost=0.00..1.94 rows=94 width=7)
-> Hash (cost=1.18..1.18 rows=4 width=4)
-> Seq Scan on tbl_erp_personal_taxs t (cost=0.00..1.18 rows=4 width=4)
Filter: ((verify_at >= '2026-01-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))