select * from t1 where ID not in(select id fom t2)
关键是有没有ID字段

解决方案 »

  1.   

    不知道你的表里有没有主键,如果有就象Corny()写的就可以了。如果没有应该Select t1.* from t1 inner join t2 on t1.条件1=t2.条件1 and t1.条件2=t2.条件2 and .....
      

  2.   

    can not see your means
      

  3.   

    如果是,可以这样试试:
    把表1和表2的所有字段分别加起来成一个字段,就可以用select * from t1 where ID not in (select id fom t2)了,然后再用表1去对应。
      

  4.   

    Select t1.* from t1 ,T2 WHERE t1.COL1<>t2.COL1 and C
    and t1.COL3<>t2.COL3