Chinaunix首页 | 论坛 | 博客
  • 博客访问: 308045
  • 博文数量: 46
  • 博客积分: 1517
  • 博客等级: 上尉
  • 技术积分: 530
  • 用 户 组: 普通用户
  • 注册时间: 2006-12-31 18:21
文章分类

全部博文(46)

文章存档

2012年(1)

2011年(1)

2010年(3)

2009年(2)

2008年(25)

2007年(13)

2006年(1)

我的朋友

分类:

2008-05-10 21:54:32

用表A的数据更新表B的数据
update A  ta
set ta.col1 =
(
select col1 from B tb
where ta.id = tb.id
)
where
ta.id in (select tc.id from C tc)

阅读(853) | 评论(0) | 转发(0) |
0

上一篇:夜深时

下一篇:struts2中的不支持target属性

给主人留下些什么吧!~~