QUERY PLAN
HashAggregate (cost=144.12..144.21 rows=9 width=12)
Group Key: sales_rep
-> Seq Scan on tbl_clients (cost=0.00..138.95 rows=1033 width=4)
Filter: ((NOT deleted) AND (sales_rep = ANY ('{5332,1001,5087,5467,5300,5311,5295,1013,5476,1004,1005,5449}'::integer[])))