From the following table, write a SQL query to find those employees who worked as a ‘Sales Representative’ in the past
- برمجة سي كيو ال sql
- 2021-09-02
- mhanasmh00489829403
الأجوبة
SELECT *
FROM jobs
WHERE job_id IN
(SELECT job_id
FROM employees
WHERE employee_id IN
(SELECT employee_id
FROM job_history
WHERE job_id='SA_REP'));
Sample Output:
job_id job_title min_salary max_salary SA_REP Sales Representative 6000 12000
أسئلة مشابهة
القوائم الدراسية التي ينتمي لها السؤال