QUERY PLAN
Limit (cost=3.24..3.24 rows=1 width=63)
-> Sort (cost=3.24..3.24 rows=1 width=63)
Sort Key: created_by DESC, created_at DESC
-> Group (cost=3.22..3.23 rows=1 width=63)
Group Key: id
-> Sort (cost=3.22..3.23 rows=1 width=63)
Sort Key: id
-> Seq Scan on tbl_task_files s (cost=0.00..3.21 rows=1 width=63)
Filter: (task_group_id = 203)