How to copy table


To create a table from another without data, run the following command:

create table new_table_name like source_table_name;

example:

mysql> create table EXAMPLE like SOURCE;

Comments are closed.