| HashAggregate (cost=26.99..27.24 rows=25 width=36) |
| Group Key: s.id |
| -> Hash Right Join (cost=11.80..26.87 rows=48 width=36) |
| Hash Cond: (turs.task_group_id = s.id) |
| Filter: ((thrs.user_id = 1001) OR (turs.user_id = 1001)) |
| -> Seq Scan on tbl_task_group_user_relationships turs (cost=0.00..8.13 rows=513 width=8) |
| -> Hash (cost=11.12..11.12 rows=54 width=40) |
| -> Hash Right Join (cost=6.50..11.12 rows=54 width=40) |
| Hash Cond: (thrs.task_group_id = s.id) |
| -> Seq Scan on tbl_task_group_head_of_relationships thrs (cost=0.00..4.06 rows=206 width=8) |
| -> Hash (cost=6.19..6.19 rows=25 width=36) |
| -> Seq Scan on tbl_task_groups s (cost=0.00..6.19 rows=25 width=36) |
| Filter: (status = 0) |