how to change table name and type in mysql code example Example: how to alter table name in mysql ALTER TABLE table_name RENAME TO new_table_name;