mysql 从一个表中查询,插入到另一个表中

insert into table1(field1) select field1 from table2; 

 

insert into table1(field1) select field1 from table2 WHERE id > 3 and id <= 10;

 

posted @ 2019-01-28 13:15  正态分个布  阅读(3552)  评论(0)    收藏  举报