SQL 将两个结构相同的表合并到成一个表

select *  into 新表名  from (select * from T1 union all select * from T2)  这个语句能够实现将合并的数据追加到一个新表中。  不合并重复数据  select * from T1 union all select * from T2  合并重复数据  select * from T1 union select * from T2  
相关文章
相关标签/搜索