mysql copy table with new name
snippet in sql

mysql copy table with new name

user3507


        
            
        
     CREATE TABLE IF NOT EXISTS new_table LIKE existing_table;

INSERT new_table
SELECT * FROM existing_table;