Section 9-3 # 5 5. List The Employees That HAVE Changed Their Jobs at Least Once
Section 9-3 # 5 5. List The Employees That HAVE Changed Their Jobs at Least Once
Section 9-3
October 31, 2020
Section 9-3 # 5
5. List the employees that HAVE changed their jobs at least once.
SELECT employee_id
FROM employees
INTERSECT
SELECT employee_id
FROM job_history;
Section 10-1 # 3, 10
10. What are the department names of the Oracle departments that have the same
location ID as Seattle?
5. Place the correct multiple-row comparison operators in the outer query WHERE
clause of each of the following:
A. Which CDs in our d_cds collection were produced before “Carpe Diem” was
produced? WHERE year __________ (SELECT year ...
SELECT *
FROM d_cds
WHERE year < (SELECT year
FROM d_cds
WHERE title = 'Carpe Diem');
B. Which employees have salaries lower than any one of the programmers in the
IT department? WHERE salary __________(SELECT salary ...