rename database table name code example Example: how to edit table name in mysql RENAME TABLE tb1 TO tb2;