当我运行此查询时:
(SELECT MAX(
SELECT
COUNT(e4.employee_id)
FROM
employees e4,
departments d2
WHERE
d2.manager_id = e3.employee_id AND
e4.department_id = d2.department_id
)
FROM
employees e3
)
我得到一个 ORA-00936:缺少表达式。不知道哪里错了。