Oracle 将另外一张表的列更新到本表的列
2024-08-26 15:08:28
Oracle写法:
update temp_agentpay_df q set q.up_batch_bizid=(select c.batch_bizid from temp_df_id c where c.detail_id=q.detail_id) ;
Mysql写法:
update temp_agentpay_df q,temp_df_id c set q.up_batch_bizid=c.batch_bizid where c.detail_id=q.detail_id;
最新文章
- Jqprint实现页面打印
- 16-1-27---图解HTTP(02)
- [BI项目记]-搭建代码管理环境之服务端
- div,li,span自适应宽度换行问题
- 【Java每日一题】20161208
- MonoDevelop编辑器中文乱码解决
- ExtJs 4 中的MVC应用架构
- ok6410 android driver(9)
- SQL分组查询GroupBy
- HeaderViewListAdapter cannot be cast to listAdapter问题原因及解决办法
- [收藏转贴]struct探索·extern ";C";含义探索 ·C++与C的混合编程·C 语言高效编程的几招
- JAVA中传递参数乱码问题
- Autofac高级用法之动态代理
- vc-mysql-sniffer统计MySQL的SQL分布
- iOS 如何优化项目
- 【转】CSS3 Box-sizing
- 【转】Spring学习---Spring IoC容器的核心原理
- vue-router之学习笔记
- 基于unittest测试框架的扩展
- VIM中的保存和退出
热门文章
- Python3基础 try-多个指定except与不指定except 简单示例
- linux下安装evernote国际版
- FJUT 奇怪的数列(线性选择算法)题解
- 【安装防火墙】没有iptables时的解决办法
- hdu 1370 || poj 1006 简单的中国剩余定理或者暴力
- jenkins网页报错,Unable to create the home directory ‘/usr/share/tomcat7/.jenkins’. This is most likely a permission problem
- Django内置模版过滤器
- Cocoapods 报警告Automatically assigning platform ios with version 9.0 on target....
- ZendFramework中实现自动加载models
- 【异常】Application failed to start due to an exception org.springframework.beans.factory.BeanCurrentlyInCreationException