【发布时间】:2022-09-27 17:41:28
【问题描述】:
我有一个问题,我需要在检查的同时保存查询的值以执行更新。怎么可能做到这一点?谁来帮帮我?
update table_one tone
set tone.name = (name)
where (select tthree.name as name
from table_two ttwo
where ttwo.name=\'sfsdf\'
union
select tthree.name as name
from table_three tthree
where tthree.name=\'sfsdf\') is not null;