可以这样设置别名,但是不能在本层语句的条件中使用。这个别名是对外的。 如果你嵌套一层就没有问题了。select * from (select eno,ename en from emp) where en='John'