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.
|
/*7. Write a query to display all the customers whose id is 2001 bellow the salesman ID of Mc Lyon.*/
|
|
SELECT *
|
|
FROM customer
|
|
WHERE customer_id =
|
|
(SELECT salesman_id -2001
|
|
FROM salesman
|
|
WHERE name = 'Mc Lyon'); |