Mysql 版本5.7.20
where中不能直接使用字段的别名,group by、having、order by可以直接使用
Oracle 版本12c
where、group by、having中不能直接使用字段的别名,order by可以直接使用
Hive 版本1.3.0
where、group by、having中不能直接使用字段的别名,order by可以直接使用
Mysql 版本5.7.20
where中不能直接使用字段的别名,group by、having、order by可以直接使用
Oracle 版本12c
where、group by、having中不能直接使用字段的别名,order by可以直接使用
Hive 版本1.3.0
where、group by、having中不能直接使用字段的别名,order by可以直接使用