6 lines
258 B
MySQL
6 lines
258 B
MySQL
|
/*Write a query to find those customers with their name and those salesmen with their name and city
|
||
|
who lives in the same city.*/
|
||
|
SELECT customer.cust_name,
|
||
|
salesman.name, salesman.city
|
||
|
FROM salesman, customer
|
||
|
WHERE salesman.city = customer.city;
|