我有一个SQL请求无法执行,出现以下错误:
要禁用安全模式,请在首选项 -> SQL编辑器 -> 查询编辑器中切换选项并重新连接。您正在使用安全更新模式,并尝试更新没有使用键列的WHERE的表
要禁用安全模式,请在首选项 -> SQL编辑器 -> 查询编辑器中切换选项并重新连接。您正在使用安全更新模式,并尝试更新没有使用键列的WHERE的表
我的请求:
update customfieldvalue
set stringvalue="****"
where customfieldvalue.customfield IN
(select customfield.id
from customfield
where customfield.cfname="Resoltion"
and customfieldvalue.issue=12345);
我在生产环境中无法进行这个操作,你能告诉我如何解决这个问题吗?PS:我正在使用MySQL。