select *
from A
left join B on 1>0
left join C on 1>0

解决方案 »

  1.   

    select *,type=(select type from 表B),state1=(select state1 from 表c),
             state2=(select state2 from 表c)
    from 表A
      

  2.   


    select *,type=(select type from 表B),state1=(select state1 from 表c),
             state2=(select state2 from 表c)
    from 表AORselect *,(select type from 表B) AS type ,(select state1 from 表c) as state1,
             (select state2 from 表c) as state2
    from 表A
      

  3.   

    select Cid,Cname,CPid,B.*,C.*  from A,B,C
      

  4.   

    select *,type=(select type from B),state1=(select state1 from c),state2=(select state2 from c) from A
      

  5.   

    select * from  a
    ,
    (select top 1 * from b cross join @c c) d
      

  6.   

    select * from  a
    ,
    (select top 1 * from b cross join c) d
    不好意思,多写了个@c