gpt4 book ai didi

MySQL 嵌套选择和更新

转载 作者:行者123 更新时间:2023-11-29 22:03:34 27 4
gpt4 key购买 nike

我该如何做如下所示的事情。我遇到语法问题:

我收到错误:#1242 - 子查询返回超过 1 行

更新temp_scrconflict设置冲突 = '是'WHERE temp_scrconflict.conflictid = ( 选择不同的 B.conflictid 从 (选择 * 来自temp_scrconflict 其中 release = 'GROUP6' 和 roleid Like '%XX%' ) 作为一个, (选择 * 来自temp_scrconflict 其中发布 IN ('ER_JUNE15','ER_APR15') ) 乙级 WHERE A.roleid = B.xx_role

)

最佳答案

你写的是:其中A.roleid = b.xx_role

尝试:其中 A.roleid = B.xx_role

关于MySQL 嵌套选择和更新,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32383165/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com