| Limit (cost=28.95..28.98 rows=10 width=396) |
| -> Sort (cost=28.95..29.19 rows=95 width=396) |
| Sort Key: s.created_at DESC |
| -> HashAggregate (cost=25.24..26.90 rows=95 width=396) |
| Group Key: s.id |
| -> Hash Right Join (cost=12.35..24.67 rows=227 width=376) |
| Hash Cond: (turs.task_group_id = s.id) |
| -> Seq Scan on tbl_task_group_user_relationships turs (cost=0.00..8.13 rows=513 width=4) |
| -> Hash (cost=11.82..11.82 rows=42 width=376) |
| -> Hash Join (cost=7.14..11.82 rows=42 width=376) |
| Hash Cond: (thrs.task_group_id = s.id) |
| -> Seq Scan on tbl_task_group_head_of_relationships thrs (cost=0.00..4.58 rows=42 width=4) |
| Filter: (user_id = 1000) |
| -> Hash (cost=5.95..5.95 rows=95 width=376) |
| -> Seq Scan on tbl_task_groups s (cost=0.00..5.95 rows=95 width=376) |