rename table command line code example
Example 1: how to edit table name in mysql
RENAME TABLE tb1 TO tb2;
Example 2: alter rename command in mysql
-- mysql
ALTER TABLE `members` CHANGE COLUMN `full_names` `fullname` char(250) NOT NULL;
RENAME TABLE tb1 TO tb2;
-- mysql
ALTER TABLE `members` CHANGE COLUMN `full_names` `fullname` char(250) NOT NULL;