MySQL CREATE TABLE from another table without data 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;