rename table name in phpmysql code example Example: sql change table name ALTER TABLE exampletable RENAME TO new_table_name;