hive中的子查詢改join操做

這些子查詢在oracle和mysql等數據庫中都能執行,可是在hive中卻不支持,可是咱們能夠把這些查詢語句改成join操做: -- 1.子查詢 select * from A a where a.update_time = (select min(b.update_time) from A b) -- 2.in操做 select * from A a where a.dept = 'IT' an
相關文章
相關標籤/搜索