QUERY PLAN
Sort (cost=3.47..3.54 rows=31 width=175)
Sort Key: created_at DESC
-> HashAggregate (cost=2.39..2.70 rows=31 width=175)
Group Key: id
-> Seq Scan on tbl_erp_inventory_starts r (cost=0.00..2.31 rows=31 width=175)