insert into table(xx,yy)
select t1.xx , t1.yy
from (select * from table1 .....) as t1

解决方案 »

  1.   

    还不如:
    insert into table2(xx,yy)
    select xx , yy
    from table1  .....
      

  2.   

    是否支持用Visdata试试就知道了。
      

  3.   

    SQL:
     select t1.xx, t1.yy from
    (select * from table1 where...) t1
    等同
    select xx, yy from table1 where ...而 insert into table(xx,yy) select xx,yy..
    就是把 select xx,yy的结果存进 table的 xx, yy字段中.Access 本身不是SQL server, 不会优化SQL的运作, 因此, 
    上述的SQL对Access是无作用的. 对桌面数据库而言, 愈是简
    单的SQL愈好.