QUERY PLAN
Sort (cost=2.52..2.60 rows=32 width=176)
Sort Key: created_at DESC
-> HashAggregate (cost=1.40..1.72 rows=32 width=176)
Group Key: id
-> Seq Scan on tbl_erp_inventory_starts r (cost=0.00..1.32 rows=32 width=176)