mysql copy table1 to table2
snippet in sql

mysql copy table1 to table2

user2430

INSERT INTO TARGET_TABLE (`col1_`,`col2_`) SELECT `col1`,`col2` FROM SOURCE_TABLE WHERE `foo`=1