两个表的连接问题,比如
表一(a、b、c);
表二(d、e、f);
怎样通过连接得到表三(a、b、c、d、e、f);
注:表一和表二没有任何相关联!select id=identity(int,1,1),* into t1 from 表1
select id=identity(int,1,1),* into t2 from 表2--假设两表行数一样,如果不一样,使用left join,full join等
select a,b,c,d,e,f from t1,t2 where t1.id = t2.id