0
INSERT INTO admin_userhistroy(sno,UserDetails_ID,UserMessage,SystemMessage_ID,insdate,STATUS,UserDetails_MsgTo_ID,License_Status)
VALUES ('1',(SELECT DISTINCT id FROM admin_userdetails WHERE token = 'ABCDE1' LIMIT 1)
,'New User is Created','4',cast(NOW() as string),'Y',cast((SELECT DISTINCT ID FROM admin_userdetails WHERE UserName = 'cangoadmin' AND token ='ABCDE1' LIMIT 1)as string)
,NULL)
以上是我的查詢我已經在Mysql中執行了相同的查詢,但是我無法在Impala中執行相同的查詢,請有人幫我解決。不能添加另一個表使用Impala中的選擇查詢
我得到以下錯誤:
Subqueries not supported in the selected list
你會得到什麼錯誤? –
所選列表中不支持的子查詢 –