oracle中的一个别名有关问题

oracle中的一个别名问题假如我想查询emp表,查询薪水比本部门的薪水高的员工信息select * from emp e where

oracle中的一个别名问题
假如我想查询emp表,查询薪水比本部门的薪水高的员工信息

select * from emp e where sal>(select avg(sal) from emp where deptno= e.deptno)

这个别名的e是什么意思啊?怎么理解它是本部门的?

[解决办法]
这个是相关查询,里面的e.deptno会和外面的deptno做比较