how to create a table based on another table in mysql
snippet in sql

how to create a table based on another table in mysql

user4832

Press CTRL+C to copy CREATE TABLE new_tbl [AS] SELECT * FROM orig_tbl;