【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;   —會報
相關文章
相關標籤/搜索