GroupAggregate (cost=808.73..809.86 rows=56 width=36) |
Group Key: c.project_id |
-> Sort (cost=808.73..808.87 rows=58 width=36) |
Sort Key: c.project_id |
-> Hash Right Join (cost=617.58..807.03 rows=58 width=36) |
Hash Cond: (tbl_case_assignments.case_id = c.id) |
-> HashAggregate (cost=192.88..287.13 rows=7540 width=36) |
Group Key: tbl_case_assignments.case_id |
-> Seq Scan on tbl_case_assignments (cost=0.00..154.92 rows=7592 width=12) |
-> Hash (cost=423.97..423.97 rows=58 width=8) |
-> Seq Scan on tbl_cases c (cost=0.00..423.97 rows=58 width=8) |
Filter: (project_id = ANY ('{3758,3689,3594,3580,3452,3796,3801,3665,3784,3781,3727,3725,3703,3256,2777,3488,3800,3793,3794,3792}'::integer[])) |