问一条sql语句,帮帮 我有2个表,table1,与table2我想把table2的price字段插入table1中的price前提是table1与table2的编号(item)相同 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 update table1set price=(select price from table2 where item=table1.item) update table1set table1.price=a.price from table1 inner join table2 a on a.item=table1.item update table1 set table1.price= table2.pricefrom table1,table2where table2.item=table1.item 关于C#中内存管理,托管内存和非托管内存的问题(比较棘手) 100分在线等 c# 调用 c++ 控件,传输数组问题 请问这个文本文件读取程序为什么不能读取中文,有什么问题呢? 数据绑定DataGrid实现成批删除数据 初学者跪求一个C#调用web service的代码例子 求分页代码! 想请问大神们,如下代码未将对象引用设置到对象实例,怎么解决呢 哪个老大对C++与C#进行比较,让初学者更好的理解它们 二个关于字符串中对子串的替换与删除的问题? ArrayList 行的数据转换为数组。请问怎么做? DataTable问题 DataSet 的问题.......
set price=(select price from table2 where item=table1.item)
set table1.price=a.price from table1
inner join table2 a on a.item=table1.item
set table1.price= table2.price
from table1,table2
where table2.item=table1.item