QUERY PLAN
Aggregate (cost=47.74..47.75 rows=1 width=8)
-> Seq Scan on tbl_tasks (cost=0.00..47.73 rows=5 width=4)
Filter: (task_group_id = 187)