6 lines
296 B
SQL
6 lines
296 B
SQL
/*Write a SQL statement to prepare a list with salesman name, customer name and their cities for the salesmen and customer who
|
|
belongs to the same city.*/
|
|
SELECT salesman.name AS "Salesman",
|
|
customer.cust_name, customer.city
|
|
FROM salesman,customer
|
|
WHERE salesman.city=customer.city; |