Write a query to display the customer whose id is 2001 bellow the salesman ID of Mc Lyon
- برمجة سي كيو ال sql
- 2021-09-01
- mhanasmh00489829403
الأجوبة
SELECT *
FROM customer
WHERE customer_id =
(SELECT salesman_id -2001
FROM salesman
WHERE name = 'Mc Lyon');
Output of the Query:
customer_id cust_name city grade salesman_id 3005 Graham Zusi California 200 5002
أسئلة مشابهة
القوائم الدراسية التي ينتمي لها السؤال