| HashAggregate (cost=25.66..25.87 rows=21 width=35) |
| Group Key: s.id |
| -> Hash Right Join (cost=11.42..25.49 rows=66 width=35) |
| Hash Cond: (turs.task_group_id = s.id) |
| Filter: ((thrs.user_id = 1000) OR (turs.user_id = 1000)) |
| -> Seq Scan on tbl_task_group_user_relationships turs (cost=0.00..7.94 rows=494 width=8) |
| -> Hash (cost=10.86..10.86 rows=45 width=39) |
| -> Hash Right Join (cost=6.40..10.86 rows=45 width=39) |
| 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=8) |
| -> Hash (cost=6.14..6.14 rows=21 width=35) |
| -> Seq Scan on tbl_task_groups s (cost=0.00..6.14 rows=21 width=35) |
| Filter: (status = 0) |