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.
|
/*3. Write a query to find all the orders issued against the salesman who works for customer whose id is 3007.*/
|
|
SELECT *
|
|
FROM orders
|
|
WHERE salesman_id =
|
|
(SELECT DISTINCT salesman_id
|
|
FROM orders
|
|
WHERE customer_id =3007); |