| GroupAggregate (cost=918.32..921.07 rows=134 width=36) |
| Group Key: c.project_id |
| -> Sort (cost=918.32..918.68 rows=143 width=36) |
| Sort Key: c.project_id |
| -> Hash Right Join (cost=699.33..913.20 rows=143 width=36) |
| Hash Cond: (tbl_case_assignments.case_id = c.id) |
| -> HashAggregate (cost=217.55..323.95 rows=8512 width=36) |
| Group Key: tbl_case_assignments.case_id |
| -> Seq Scan on tbl_case_assignments (cost=0.00..174.70 rows=8570 width=12) |
| -> Hash (cost=479.99..479.99 rows=143 width=8) |
| -> Seq Scan on tbl_cases c (cost=0.00..479.99 rows=143 width=8) |
| Filter: (project_id = ANY ('{4179,4174,4173,4079,4170,4175,4155,4172,4171,4151,4169,4168,4144,4167,4161,4166,1018,1111,2504,1791}'::integer[])) |