同时更新一张表的两个字段该怎么写? update tab_a set (a,b)=(select a,b from tab_b where tab_a.c=tab_b.c) 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 实在不行就update tab_a set a=(select a from tab_b where tab_a.c=tab_b.c), b=(select b from tab_b where tab_a.c=tab_b.c)where …… update tab_a set (a,b)=(select a,b from tab_b where tab_a.c=tab_b.c) 一个触发器的问题,在线等待急...... 怎么调用oracle创建存储过程导入txt文件 FRM-41839: 在临时记录缓冲区文件/tmp/P-ic7a.tmp中磁盘的输入/输入错误 如何获取oracle sys_refcursor变量中的值 创建物化视图问题,请高手帮忙! oracle中带有主键和外键的关联表怎么插入数据和删除某一数据?十万火急啊!! oracle启动错误求助 一个查询,难住我了 在存储过程中,怎么把一个字符串当成检索条件? 哪位能帮我写出这个SQL?? 简单的创建用户问题 在线等待帮助 :一个简单的数据库连接问题!
update tab_a set a=(select a from tab_b where tab_a.c=tab_b.c),
b=(select b from tab_b where tab_a.c=tab_b.c)
where ……
update tab_a set (a,b)=(select a,b from tab_b where tab_a.c=tab_b.c)