GroupAggregate (cost=760.18..760.97 rows=39 width=36) |
Group Key: c.project_id |
-> Sort (cost=760.18..760.28 rows=40 width=36) |
Sort Key: c.project_id |
-> Hash Right Join (cost=557.40..759.12 rows=40 width=36) |
Hash Cond: (tbl_case_assignments.case_id = c.id) |
-> HashAggregate (cost=205.23..305.58 rows=8028 width=36) |
Group Key: tbl_case_assignments.case_id |
-> Seq Scan on tbl_case_assignments (cost=0.00..164.82 rows=8082 width=12) |
-> Hash (cost=351.67..351.67 rows=40 width=8) |
-> Seq Scan on tbl_cases c (cost=0.00..351.67 rows=40 width=8) |
Filter: (project_id = ANY ('{1791,3577,3955,3927,3957,3947,3874,3934,3950,3716}'::integer[])) |