Copy a MySQL table including indexes March 10, 2023 by Tarik CREATE TABLE newtable LIKE oldtable; INSERT INTO newtable SELECT * FROM oldtable;