ora-01427 单行子查询返回多行

--把密码password更改为id和Email的连接值
update tuser set password=(select concat(id,email) t from tuser)
where id in(1,3,5,7);

我在 mysql中试了一下 出现 这个You can't specify target table 'tuser' for update in FROM clause
意思是 你不能指定更新的目标表的用户在FROM子句
是不是有冲突 但是这个好像只是mysql中才出现的问题 Oracle 不会有这个问题

update tuser set password= concat(id,email)
where id in(1,3,5,7);