6 lines
258 B
SQL
6 lines
258 B
SQL
/*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; |