oracle 别名
select * from (select * from (select * from table1 where col1=(select max (col1) from table1 ) ) as a where col2 =(select max (col2) from a )) as b where col3 =(select max(col3) from b )
为什么里面的别名失效呢?
[最优解释]
你分层搞清楚啊
[其他解释]
只有外层能用相邻内层的别名。
[其他解释]
sqlserver没要求所以没注意