QUERY PLAN
GroupAggregate (cost=68.53..68.78 rows=11 width=12)
Group Key: parent_id
-> Sort (cost=68.53..68.58 rows=18 width=4)
Sort Key: parent_id
-> Seq Scan on tbl_tasks (cost=0.00..68.16 rows=18 width=4)
Filter: (parent_id = ANY ('{233,81,347,346,850,796,1537,1536,1550,1664,1658,1660,1666,413,355,234,93}'::integer[]))