Answers for "copy table in mysql with data"

SQL
4

mysql copy table with new name

CREATE TABLE IF NOT EXISTS new_table LIKE existing_table;

INSERT new_table
SELECT * FROM existing_table;
Posted by: Guest on September-09-2020
1

copy table in mysql with data

CREATE TABLE new_table LIKE original_table;
INSERT INTO new_table SELECT * FROM original_table;
Posted by: Guest on February-01-2021

Code answers related to "copy table in mysql with data"

Code answers related to "SQL"

Browse Popular Code Answers by Language