【hive】where使用注意的问题

不能再where后边使用别名,group by后边也同样不能使用别名mysql   select id,col1 - col2 from table1sql where (col1 - col2) > 1000;  —能够运行,可是不是很好看get   尝试it   select id,(col1 - col2) as n1 from table1io where n1 > 1000;   —会报
相关文章
相关标签/搜索