get create statement for table mysql code example Example: mysql create table from select statement select * into <NEW_TABLE_NAME> from <OLD_TABLE>;