QUERY PLAN
GroupAggregate (cost=281.68..281.92 rows=14 width=12)
Group Key: client_id
-> Sort (cost=281.68..281.71 rows=14 width=8)
Sort Key: client_id
-> Seq Scan on tbl_cases (cost=0.00..281.41 rows=14 width=8)
Filter: (client_id = ANY ('{3331,3290,2153}'::integer[]))