Mysql: duplicating a table

Автор | 15.03.2016

You need to do :

CREATE TABLE newtable LIKE oldtable;
INSERT newtable SELECT * FROM oldtable;

This creates copy of existing Mysql table with indexes

Залишити відповідь