| Limit (cost=28.25..28.25 rows=1 width=384) |
| -> Sort (cost=28.25..28.25 rows=1 width=384) |
| Sort Key: s.created_at DESC |
| -> Group (cost=28.18..28.24 rows=1 width=384) |
| Group Key: s.id |
| -> Sort (cost=28.18..28.21 rows=10 width=364) |
| Sort Key: s.id |
| -> Hash Right Join (cost=17.67..28.02 rows=10 width=364) |
| Hash Cond: (turs.task_group_id = s.id) |
| -> Seq Scan on tbl_task_group_user_relationships turs (cost=0.00..7.83 rows=483 width=4) |
| -> Hash (cost=17.65..17.65 rows=2 width=364) |
| -> Hash Right Join (cost=13.19..17.65 rows=2 width=364) |
| Hash Cond: (thrs.task_group_id = s.id) |
| -> Seq Scan on tbl_task_group_head_of_relationships thrs (cost=0.00..3.93 rows=193 width=4) |
| -> Hash (cost=13.18..13.18 rows=1 width=364) |
| -> Seq Scan on tbl_task_groups s (cost=0.00..13.18 rows=1 width=364) |
| Filter: (client_id = 93) |