为什么第一个 SQL 语句不执行,而第二个执行?
1.
select e.employee_id, e.last_name, e.salary as "SALARY"
from employees e
where employees.salary > (select avg(salary) from employees)
order by SALARY;
2.
select e.employee_id, e.last_name, e.salary as "SALARY"
from employees e
where e.salary > (select avg(salary) from employees)
order by SALARY;