一个简单的问题,高分求救,急!!!!!!!!!!!!!,在线等待 在oracle中如果要修改a表中一个字段的值,它的值要从b表中一个对应的字段中取修改语句该怎样写要根据条件查询怎么可以更新表中的一列多行记录,并且每行的记录不同 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 update a set a.col = (select b.col from b where a.id = b.id)where exists (select 1 from b where a.id = b.id) 最好加上max或者min,防止 返回多行 的错误。update a set a.col = (select max(b.col) from b where a.id = b.id)where exists (select 1 from b where a.id = b.id) exists语句,如果又返回值,则 更新 ,返回什么值 无所谓select * from b where a.id = b.id或select col from b where a.id = b.id都一样的效果。 oracle job不执行 oracle 11g创建数据库出现问题!!求救 数据同步 streams 安装oracle 10g 时 出现“无法确定主机IP地址”异常 数据库对于多媒体数据的处理 使用group by后怎么查询除分组字段外的字段? update 问题 建表问题? 按照时间导出表中的一部分内容!请教各位大侠! 关于存储过程游标insert into子查询结果丢失的疑问 公司要招一人(上海) C#(winForm)+oracle 望版竹手下留情. oracle 有没有bulk insert语句啊 ?
where exists (select 1 from b where a.id = b.id)
update a set a.col = (select max(b.col) from b where a.id = b.id)
where exists (select 1 from b where a.id = b.id)
select * from b where a.id = b.id
或
select col from b where a.id = b.id
都一样的效果。