sql语句 如何在oracle中实现。。 update a set a.hth='33',a.htzh= '00',a.rkrq ='20070607',a.lrrq='20070620' from a join b on a.id=b.id 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 这句话在sqlserver 中是对的 orcale中 不知道怎么写 update a set a.hth='33',a.htzh= '00',a.rkrq ='20070607',a.lrrq='20070620' from a join b on a.id=b.id就是和b表id匹配的记录进行修改~~ update a set a.hth='33',a.htzh= '00',a.rkrq ='20070607',a.lrrq='20070620' where a.id=b.id to :ljxsea(春雷) ( ) 好像不对吧~~ 不好意思,这样的用法在SQL以前没有用过,你主要想实现什么的? 这样呢update a set a.hth='33',a.htzh= '00',a.rkrq ='20070607',a.lrrq='20070620' where (select count(*) from a,b where a.id=b.id)>0 update a set a.hth='33',a.htzh= '00',a.rkrq ='20070607',a.lrrq='20070620'where a.id in (select id from b) 一个简单的SQL查询语句,但是……请各位大虾帮帮俺,谢谢。 学习ORACLE ★☆★☆★☆★实现多台服务器之间数据库表的同步更新问题,急! 关于使用SQLPLUS的SPOOL方法到出数据到文件后,内容被改变的问题,请大家帮帮忙,在此谢谢各位了 请教一个SQL语句,一个表的列数据怎么转换为字段名出来? 请教一个这样的SQL语句应该怎么写??谢谢 急!Oracle OLAP 技术难题和询问 (入者给分) 各位大侠!请教! Oracle多表关联更新 防止数据库被非合法人员批量写入 请问Oracle有没有类似mssql联机丛书的官方资料 比较困难的sql---->行转换成列。
from a
join b
on a.id=b.id就是和b表id匹配的记录进行修改~~
where a.id=b.id
好像不对吧~~
where (select count(*) from a,b where a.id=b.id)>0
where a.id in (select id from b)