SELECT salesman_id,name   
FROM salesman a   
WHERE 1 <   
    (SELECT COUNT(*)   
     FROM customer   
     WHERE salesman_id=a.salesman_id);