Aggregate (cost=40.90..40.91 rows=1 width=8) |
-> Sort (cost=34.80..35.82 rows=407 width=611) |
Sort Key: d.updated_at DESC |
-> HashAggregate (cost=13.09..17.16 rows=407 width=611) |
Group Key: d.id |
-> Seq Scan on tbl_documents d (cost=0.00..12.07 rows=407 width=12) |