`
793059909
  • 浏览: 417 次
社区版块
存档分类
最新评论
文章列表
 update a set a.col1 = (select b.col1  from b  where b.col2 = a.col2) where exists (select * from b where a.col2 = b.col2) /**oracle与sqlserver更新update的用法有不同,oracle是怎么处理的呢update a set a.col1=100     将所有行全部的特定列col1更新为特定值update a set a.col1=100 where a.col2<10 将满足col2条件的行的col1列的值更新为特定的值update a se ...
Global site tag (gtag.js) - Google Analytics