select (select aa from a),(select bb from b),(select cc from c)

解决方案 »

  1.   

    select aa from a
    union all
    select bb from b
    union all
    select cc from c
    或者
    select aa,bb=(select bb from b),
    cc=(select cc from c)
     from a
      

  2.   

    select
        aa = (select top 1 aa from a),
        bb = (select top 1 bb from b),
        cc = (select top 1 cc from c)
      

  3.   

    select top 1 aa from a
    union all
    select top 1 bb from b
    union all
    select top 1 cc from c
      

  4.   

    横排:select
        aa = (select top 1 aa from a),
        bb = (select top 1 bb from b),
        cc = (select top 1 cc from c)竖排:select top 1 aa from a
    union all
    select top 1 bb from b
    union all
    select top 1 cc from c
      

  5.   

    纵向就是 wgsasd311说的union all,横向就是 wgsasd311的第二种和libin_ftsafe的方法!麻烦的是纵向的
      

  6.   

    vivianfdlpw() ( ) 的方法很好!