SELECT id, fname, lname from customer where id in (SELECT cust_id from sales_order group by cust_id having count(sales_rep)=3)
Muron