From the following table, write a SQL query to find those employees whose department located at 'Toronto'
- برمجة سي كيو ال sql
- 2021-09-02
- mhanasmh00489829403
الأجوبة
SELECT first_name, last_name, employee_id, job_id
FROM employees
WHERE department_id =
(SELECT department_id
FROM departments
WHERE location_id =
(SELECT location_id
FROM locations
WHERE city ='Toronto'));
Sample Output:
first_name last_name employee_id job_id Michael Hartstein 201 MK_MAN Pat Fay 202 MK_REP
أسئلة مشابهة
القوائم الدراسية التي ينتمي لها السؤال