select id,title,timein,rootcl,clss from tb1
union
select id,title,timein,rootcl,clss from tb2

解决方案 »

  1.   

    pengdali(大力 V3.0) 不行啊。什么都不显示。
      

  2.   

    select id,title,timein,rootcl,clss from tb1 
    union all 
    select id,title,timein,rootcl,clss from tb2
    ??不可能吧,你到查询分析器里执行呢?
      

  3.   

    服务器: 消息 8163,级别 16,状态 4,行 1
    不能以 DISTINCT 方式选择 text、ntext 或 image 数据类型。
      

  4.   

    为什么查询出来的两列title不合并呢?