create table same as another table in mysql code example
Example: how to create a table based on another table in mysql
Press CTRL+C to copy CREATE TABLE new_tbl [AS] SELECT * FROM orig_tbl;
Press CTRL+C to copy CREATE TABLE new_tbl [AS] SELECT * FROM orig_tbl;