| Limit (cost=60.13..60.16 rows=10 width=200) |
| -> Sort (cost=60.13..60.24 rows=44 width=200) |
| Sort Key: s.target_completed_at, s.updated_at DESC |
| -> HashAggregate (cost=58.74..59.18 rows=44 width=200) |
| Group Key: s.id, u.id |
| -> Hash Left Join (cost=12.11..58.52 rows=44 width=200) |
| Hash Cond: (s.head_of = u.id) |
| -> Seq Scan on tbl_tasks s (cost=0.00..46.30 rows=44 width=196) |
| Filter: ((parent_id IS NULL) AND (status = '0'::smallint)) |
| -> Hash (cost=10.30..10.30 rows=144 width=4) |
| -> Index Only Scan using tbl_users_pkey on tbl_users u (cost=0.14..10.30 rows=144 width=4) |