Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update set 加上子查询就不可以 #201

Closed
zch513430014 opened this issue Apr 16, 2020 · 1 comment
Closed

update set 加上子查询就不可以 #201

zch513430014 opened this issue Apr 16, 2020 · 1 comment

Comments

@zch513430014
Copy link

UPDATE table1 AS d INNER JOIN (
SELECT a.id FROM table1 AS a INNER JOIN table2 AS b ON a.uid = b.uid AND a.appid = b.appid
) AS sub ON d.id = sub.id SET channel = 'abcdefg'

错误信息:near "INNER": syntax error
但是我去单库上面执行就可以。

@lazio579
Copy link
Contributor

目前这种功能确实不支持,静等我们的分布式数据库产品,就不会有这些兼容性问题了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants