| Aggregate (cost=23.67..23.68 rows=1 width=32) |
| -> Hash Right Join (cost=8.19..22.33 rows=535 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.15..6.15 rows=163 width=4) |
| -> Seq Scan on tbl_erp_sales_gifts t (cost=0.00..6.15 rows=163 width=4) |
| Filter: (status = 2) |