将一表中数据筛选地更新另一表。用一条sql语句能否完成
可以使用update tablename1 set * = ((select * from tablename2 where )) where ;的形式
update批量更新一个字段,新值在数组变量中存储。
当然可以了,使用insert into 表(列) select 列 from 表 where 条件;即可
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
有一天你能到我的心里去,你会看到那里全是你给的伤悲。
文章 0 评论 0
接受
发布评论
评论(3)
可以使用
update tablename1 set * = ((select * from tablename2 where )) where ;
的形式
update批量更新一个字段,新值在数组变量中存储。
当然可以了,使用insert into 表(列) select 列 from 表 where 条件;即可