Answers for "copy from one table to another mysql"

SQL
1

mysql copy table1 to table2

INSERT INTO TARGET_TABLE (`col1_`,`col2_`) SELECT `col1`,`col2` FROM SOURCE_TABLE WHERE `foo`=1
Posted by: Guest on November-13-2020
1

mysql copy table to another table

CREATE TABLE new_table 
SELECT col1, col2, col3 
FROM
    existing_table
WHERE
    conditions;
Posted by: Guest on March-14-2021

Code answers related to "copy from one table to another mysql"

Code answers related to "SQL"

Browse Popular Code Answers by Language