QUERY PLAN
Limit (cost=1.84..1.84 rows=1 width=71)
-> Sort (cost=1.84..1.84 rows=1 width=71)
Sort Key: created_by DESC, created_at DESC
-> Group (cost=1.82..1.83 rows=1 width=71)
Group Key: id
-> Sort (cost=1.82..1.83 rows=1 width=71)
Sort Key: id
-> Seq Scan on tbl_task_files s (cost=0.00..1.81 rows=1 width=71)
Filter: (task_group_id = 203)