Click here to Skip to main content
15,358,946 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am beginner in sql. Please someone explain ( WHERE 1 < ..............) below query

SELECT salesman_id,name
FROM salesman a
FROM customer
WHERE salesman_id=a.salesman_id);

What I have tried:

I tried different query but I don't understand this
Updated 26-Sep-17 8:43am

1 solution

It selects all salesmen that has more than one customer.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900