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