QUERY PLAN
Limit (cost=7.96..7.97 rows=3 width=52)
-> Sort (cost=7.96..7.97 rows=3 width=52)
Sort Key: created_at DESC
-> Group (cost=7.92..7.94 rows=3 width=52)
Group Key: id
-> Sort (cost=7.92..7.93 rows=3 width=52)
Sort Key: id
-> Seq Scan on tbl_supplier_documents cd (cost=0.00..7.90 rows=3 width=52)
Filter: (supplier_id = 138)