我有2个表,table1,与table2
我想把table2的price字段插入table1中的price
前提是table1与table2的编号(item)相同
我想把table2的price字段插入table1中的price
前提是table1与table2的编号(item)相同
解决方案 »
- 关于winform上如何撤消已经点击的button的操作问题。
- 在一个.cs中如何定义全局变量
- 关于if条件判断时间
- 有一点winform的开发经验,想学习WPF,烦各位给推荐几本好的书
- 当前位置 asp.net菜单导航如何实现
- 客户端在调用WebService出现异常
- 使用继承的窗体,为什么经常会出现加载错误
- 有点细节不是很清楚,能否帮忙解释下?很简单的,我是新手
- 请问怎么可以获得一个数据表中的 字段(有几个字段) 的数量???怎么用.net对它操作,加或是删除一个字段???
- 由于具体程序运行时间较长 想要显示个窗口给用户 让用户不要以为是程序死机或停止了
- 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