首页
学习
活动
专区
工具
TVP
发布
社区首页 >问答首页 >tdsql关联表更新报错do not support subquery/sum in update?

tdsql关联表更新报错do not support subquery/sum in update?

提问于 2022-07-25 17:04:31
回答 1关注 0查看 460

UPDATE tableA a SET tid = (SELECT b.tid FROM tableB b WHERE a.no= b.no)

where a.id>0;

或者

update tableA , tableB set tableA.tid= tableB.tid

where tableA.no = tableB.no;

执行报错:

658 - Proxy ERROR: Join internal error: do not support subquery/sum in update list

其中:tablaA和tableB都是分表

相关文章

相似问题

相关问答用户
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档