求一条UPDATE语句!! 谢谢!!!!!!!!!!!!!!!!!!!!11111!!!!!!!!!!11 是oracle数据库 不是sqlserver·!!!!!!!!!!!!!!!1表A和表B在同一个数据库中表A中的Id对应表B中的Id现在需要把表B中的name列数据复制到表A中的name列如何做???????????????????????????????????立马结贴!!!帮忙 谢谢了!!!!!!!!!帮忙1!! 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 update b set name=(select name from a where a.id=b.id) update a set name=(select name from b where a.id=b.id and rownum =1)where exists(select 1 from b where where a.id=b.id ) update b set name=(select name from a where a.id=b.id and rownum=1)where exists (select null from a where a.id=b.id) update a set a.name=(select name from b where b.id=a.id) 上面写反了。 rman这个东西常用么,是恢复数据库还是恢复数据用呢 请问存储过程VARCHAR2类型输入参数的最大长度是多少?谢谢 一个新手考核的题目,在线等!! ****请问一句查询时间的SQL**** 如何写个sql 完成这个功能 请教如何用c连接oracle数据库? 如何删除表中列 高分求救oracle如何配双机(solaris) 在线等待 SQL的问题?在线等待!急急急急急! 菜鸟问题:为什么字段DATE类型,不能保存数据?刚学。。。 单行子查询返回多个行 的问题 System.Data.OracleClient 需要 Oracle 客户端软件 8.1.7 或更高版本
where exists(select 1 from b where where a.id=b.id )
update b set name=(select name from a where a.id=b.id and rownum=1)
where exists (select null from a where a.id=b.id)