1、表结构相同 跳过重复
INSERT ignore INTO scc_batchd(number,bid) SELECT number,2 from scc_batch2
2、表结构相同 不跳过重复
INSERT INTO scc_batchd(number,bid) SELECT number,2 from scc_batch2
1、表结构相同 跳过重复
INSERT ignore INTO scc_batchd(number,bid) SELECT number,2 from scc_batch2
INSERT INTO scc_batchd(number,bid) SELECT number,2 from scc_batch2