`
p_3er
  • 浏览: 51872 次
  • 性别: Icon_minigender_1
  • 来自: 广州
文章分类
社区版块
存档分类
最新评论

ORACLE A表根据B表字段更新

 
阅读更多
update product_info t set (t.salename,t.xsqy)=(select c.salename,c.xsqy from contract_erp c where c.contractcode=t.contractid)
where t.contractid in(select c.contractcode from contract_erp c) and t.contractid is not null and t.salename is null;

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics