How do I copy or clone or duplicate the data, structure, and indices of a MySQL table to a new one?
This is what I\'ve found so far.
This will copy the data
Apart from the solution above, you can use AS to make it in one line.
AS
CREATE TABLE tbl_new AS SELECT * FROM tbl_old;