INSERT INTO TARGET_TABLE SELECT * FROM SOURCE_TABLE;
EDIT:nebo pokud mají tabulky různé struktury, můžete také:
INSERT INTO TARGET_TABLE (`col1`,`col2`) SELECT `col1`,`col2` FROM SOURCE_TABLE;
EDIT:Chcete-li to omezit..
INSERT INTO TARGET_TABLE (`col1_`,`col2_`) SELECT `col1`,`col2` FROM SOURCE_TABLE WHERE `foo`=1