You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
4 lines
226 B
MySQL
4 lines
226 B
MySQL
5 years ago
|
/*Write a SQL statement to find the names of all customers along with the salesmen who works for them.*/
|
||
|
SELECT customer.cust_name, salesman.name
|
||
|
FROM customer,salesman
|
||
|
WHERE salesman.salesman_id = customer.salesman_id;
|