| Aggregate (cost=22.61..22.62 rows=1 width=32) |
| -> Hash Right Join (cost=7.72..21.86 rows=299 width=5) |
| Hash Cond: (eipss.erp_sales_gift_id = t.id) |
| -> Seq Scan on tbl_erp_inventory_product_spents eipss (cost=0.00..12.65 rows=565 width=9) |
| -> Hash (cost=6.58..6.58 rows=91 width=4) |
| -> Seq Scan on tbl_erp_sales_gifts t (cost=0.00..6.58 rows=91 width=4) |
| Filter: ((verify_at <= '2025-12-31 23:59:59+08'::timestamp with time zone) AND (status = 2)) |