怎么才能把查询来的结果复制到另一个表里面? insert into table2 (select table所得得结果集)delete from table1 where (主键not in select 主键 from table2) 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 insert into table2select * from table1 where (条件)delete from table1 where (条件) table1 和table2的表结构一样吗。如果一样insert table2 select * from table1delete from table1 insert into table2select * from table1 where (条件)delete from table1 where (条件) select * into table2 from table where 条件delete from teble 条件 insert into table2(字段table1中有的) select 和前面对用起来的字段 from table1 where 条件delete from table1 一个两表联合查询的问题! 任意2个相邻记录的查询问题,急急急! SQL2005在管理平台中新增字段,出现超时? 这个分页存储过程该怎么改??? 有关数据库存储方面的问题 ----求解---- 删除多关键字表中的部分信息 MSSQL XML 查询是否有长度限制? 我使用了select top 8 为什么显示的数据是10条? SQL字段分割与匹配语句怎么写 关于表连接查询效率? 请教复杂SQL语句?谢谢 急求SQL SERVER中储存过程中如何给变量重新赋值
select * from table1 where (条件)
delete from table1 where (条件)
insert table2 select * from table1
delete from table1
select * from table1 where (条件)
delete from table1 where (条件)
delete from teble 条件
delete from table1