insert into tbname values
select col1,col2 ... from tbname2 where col>2000;

解决方案 »

  1.   

    insert into tbname values
    select col1,col2 ... from tbname2 where col>2000;
      

  2.   

    Insert into tab1 
    values select salary,col2,col3...
           from   tab2
           where  salary>2000;
      

  3.   

    错了!
    Insert into tab1  
    values  select b.salary,b.col2,b.col3....
            from   tab2 b
            where  b.salary>2000
      

  4.   

    insert into tableA values select * from tableB where salary>2000;
      

  5.   

    Insert into tab1  
    values  select b.salary,b.col2,b.col3....
            from   tab2 b
            where  b.salary>2000
      

  6.   

    insert into a select * from b
      

  7.   

    Insert into tab1  
    select b.salary,b.col2,b.col3....
            from   tab2 b
            where  b.salary>2000不要加values