Friday, October 9, 2015

Copy an existing MySQL table to a new table


http://www.tech-recipes.com/rx/1487/copy-an-existing-mysql-table-to-a-new-table/

CREATE TABLE recipes_new LIKE production.recipes; 

INSERT recipes_new SELECT * FROM production.recipes;

No comments:

Post a Comment