Aggregate (cost=236.39..236.40 rows=1 width=8) |
-> Sort (cost=208.10..212.81 rows=1886 width=665) |
Sort Key: p.updated_at DESC, p.id DESC |
-> HashAggregate (cost=86.63..105.49 rows=1886 width=665) |
Group Key: p.id |
-> Hash Left Join (cost=1.14..81.92 rows=1886 width=12) |
Hash Cond: (p.id = eip.product_id) |
-> Seq Scan on tbl_products p (cost=0.00..61.86 rows=1886 width=28) |
-> Hash (cost=1.06..1.06 rows=6 width=4) |
-> Seq Scan on tbl_erp_inventory_products eip (cost=0.00..1.06 rows=6 width=4) |