QUERY PLAN
Sort (cost=8.01..8.05 rows=17 width=257)
Sort Key: created_at DESC
-> Seq Scan on tbl_erp_purchase_inbounds (cost=0.00..7.66 rows=17 width=257)
Filter: (created_by = 1001)