【Hive】with子查询与create、insert连用
子查询与create/insert一同使用时,语句写法略有不同。如下。1 create table-- 创建表时,create table应该写在所有的with查询之前create table t_cre aswith t1 as ( select outid, name from t_sel1),t2 as ( select outid, name from t_sel2)select * from t1 full join t2 on bzks.outid
原创
2021-05-10 10:09:36 ·
5292 阅读 ·
1 评论