QUERY PLAN
Limit (cost=1.73..1.73 rows=1 width=65)
-> Sort (cost=1.73..1.73 rows=1 width=65)
Sort Key: created_by DESC, created_at DESC
-> Group (cost=1.71..1.72 rows=1 width=65)
Group Key: id
-> Sort (cost=1.71..1.72 rows=1 width=65)
Sort Key: id
-> Seq Scan on tbl_task_files s (cost=0.00..1.70 rows=1 width=65)
Filter: (task_group_id = 192)