1.如果列名相同 insert into tab_user2 select * from tab_user where site=17; 2.指定列名插入 insert into tab_user2(id,account) select id,account from tab_user where site=3;
常用SQL语法
原文:http://www.cnblogs.com/svennee/p/4080890.html