create table #tmp1 ( s1 int, s2 char ) create table #tmp2 ( c1 datetime, c2 varchar(10) ) 两个表横向合并成新表#tmp3 显示出来的列是 s1 s2 c1 c2 已经尝试过full join,但是需要共同字段关联才能实现,现在不添加共同字段,单单横向合并成新表就可以了
收起
select table1.* , table2.* from table1,table2
报告相同问题?