如何使用not in子句子查询修复此parseexception错误?

lmyy7pcs  于 2021-06-24  发布在  Hive
关注(0)|答案(0)|浏览(154)

我正在直线上运行这个查询

select * from sales.inventory

where customer not in
(select id
from sales.local);

此查询将显示下一个错误:
错误:编译语句时出错:失败:parseexception行4:1无法识别表达式规范中“(”select“id”)附近的输入
有人能帮我吗?谢谢!!

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题