update a set fkey=(select max(b.id) from b where a.type=b.type)
where exists(select b.id from b where a.type=b.type);
where exists(select b.id from b where a.type=b.type);
解决方案 »
- 更新一个字段中的部分数据
- 新的查询问题,ORACLE我试了代码,没解决,求教
- 安装oracle中的问题
- Oracle用SQL*LOADER并行导入有索引的表优化
- 空间发布专题: 拿什么拯救你, 执行计划
- 一段简单的ORACLE函数,为什么不能执行?
- 关于varchar2,单个字符最大为多少
- oracle里面,一个存储过程需要返回多个结果集,应该咋整
- 紧急:error:ORA-01562 扩展重算段号6失败 ORA-01628 已达到max # extents 121 (重算段RB5)
- 删除数据库之前忘了删除例程了,怎么再删除这些例程?
- 在线急求sql优化语句:立马给分
- 我在cmd中建立一个用户,分配了角色connect,resource,为什么在企业管理器中看不到?
where exists(select 1 from b where a.id=b.id);