7 lines
193 B
SQL
7 lines
193 B
SQL
/*Write a query to get the details of employees who manage a department.
|
|
*/
|
|
|
|
SELECT *
|
|
FROM employees
|
|
WHERE employee_id=ANY
|
|
( SELECT manager_id FROM departments ); |