| GroupAggregate (cost=30.44..30.52 rows=3 width=84) |
| Group Key: t.created_at, esosps.id |
| -> Sort (cost=30.44..30.44 rows=3 width=30) |
| Sort Key: t.created_at, esosps.id |
| -> Hash Join (cost=23.54..30.41 rows=3 width=30) |
| Hash Cond: (t.id = esosps.erp_sales_outbound_id) |
| -> Seq Scan on tbl_erp_sales_outbounds t (cost=0.00..5.92 rows=146 width=16) |
| Filter: (status = 2) |
| -> Hash (cost=23.51..23.51 rows=3 width=22) |
| -> Hash Right Join (cost=9.36..23.51 rows=3 width=22) |
| Hash Cond: (eipss.erp_sales_outbound_spent_product_id = esosps.id) |
| -> Seq Scan on tbl_erp_inventory_product_spents eipss (cost=0.00..12.65 rows=565 width=14) |
| -> Hash (cost=9.34..9.34 rows=2 width=12) |
| -> Seq Scan on tbl_erp_sales_outbound_spent_products esosps (cost=0.00..9.34 rows=2 width=12) |
| Filter: (product_id = 1372) |