select a.* from 表1 a 
where exists(select * from 表2 where 字段1=a.字段2 and 字段2=a.字段2 .... and 字段n=a.字段n)

解决方案 »

  1.   

    假设RS1 中有{a,b,c,d}  RS2{b,c,d,e} 我想得到RS3{a,b,c,d,e} 也就是RS3=RS2nRS3
    怎么用SELECT 实现
      

  2.   

    上面说错了..
    应该是 RS3= RS2 n  RS1
      

  3.   

    select e into STR1 from RS2
      

  4.   

    select 表1.*,表2.* not in(select * from 表1) into 表3 from 表1 ,表2
      

  5.   

    select tablea.*,tableb.* into tablec from tablea,tableb where tablea.a not in (select a from tableb)
    但是提示错误:各表中的列名必须唯一。在表 'tablec' 中多次指定了列名 'a'。