有关联的话:
select 表A.Field1 ,表B.Field2 from 表A ,表B where 条件

解决方案 »

  1.   

    select id=identity(int,1,1),field1 into #t1 from a
    select id=identity(int,1,1),field2 into #t2 from aselect field1,field2 from #t1 inner join #t2 on #t1.id=#t2.id
      

  2.   

    select 表A.Field1 ,表B.Field2 from 表A ,表B where 条件
    这个就可以了
    搂主可能指的是从两个表中取出的一些数据再组合成一个表
    没有关联的话也可以这样的
    只不过数据很乱
      

  3.   

    表A与表B并不是实际存在的,是两个查询结果
    那么可不可以把你的两个表的数据给点出来,我们看看条件中是否有关联!如果有就直接连表来取这两个结果
    如果没有关联那么支持select id=identity(int,1,1),field1 into #t1 from a
    select id=identity(int,1,1),field2 into #t2 from aselect field1,field2 from #t1 inner join #t2 on #t1.id=#t2.id
     支持lsxaa(小李铅笔刀)   造个关联出来
      

  4.   

    select top 3 * from (select a.fild1,b.fild2 from a,f order by a.fild1)
      

  5.   

    select a.* ,b.* into c from a ,b where .....
    这样不就OK了