6 lines
148 B
SQL
6 lines
148 B
SQL
SELECT salesman_id,name
|
|
FROM salesman a
|
|
WHERE 1 <
|
|
(SELECT COUNT(*)
|
|
FROM customer
|
|
WHERE salesman_id=a.salesman_id); |