GroupAggregate (cost=808.34..809.33 rows=49 width=36) |
Group Key: c.project_id |
-> Sort (cost=808.34..808.46 rows=50 width=36) |
Sort Key: c.project_id |
-> Hash Right Join (cost=617.48..806.93 rows=50 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=50 width=8) |
-> Seq Scan on tbl_cases c (cost=0.00..423.97 rows=50 width=8) |
Filter: (project_id = ANY ('{3810,3809,3808,3807,3801,3786,3767,3764,3760,3751,3752,3744,3723,3714,3679,3653,3686,3661,3660,3652}'::integer[])) |