QUERY PLAN
Sort (cost=3.52..3.60 rows=32 width=176)
Sort Key: created_at DESC
-> HashAggregate (cost=2.40..2.72 rows=32 width=176)
Group Key: id
-> Seq Scan on tbl_erp_inventory_starts r (cost=0.00..2.32 rows=32 width=176)