本帖最后由 Galya 于 2010-12-13 17:27:48 编辑

解决方案 »

  1.   

    1.请说明你的库是MYSQL
    2.这里是MSSQL版
    3.需要测试数据和想要的结果
    4.有可能
      

  2.   


    select * from source cross join 
    (
    select * from image
    union all 
    select * from audio
    union all 
    select * from video
    ) a 
      

  3.   


    改成这样OK了,谢谢!select * from source as A cross join 
    (
    select * from image
    union all 
    select * from audio
    union all 
    select * from video
    )as B
    where A.id=B.sid