From the following tables, write a SQL query to find the salespeople who had more than one customer
- برمجة سي كيو ال sql
- 2021-09-01
- mhanasmh00489829403
الأجوبة
SELECT salesman_id,name
FROM salesman a
WHERE 1 <
(SELECT COUNT(*)
FROM customer
WHERE salesman_id=a.salesman_id);
Output of the Query:
salesman_id name 5001 James Hoog 5002 Nail Knite
أسئلة مشابهة
القوائم الدراسية التي ينتمي لها السؤال