mysql rename to code example
Example 1: rename table in mysql
RENAME TABLE old_table TO new_table;
Example 2: alter rename command in mysql
-- mysql
ALTER TABLE `members` CHANGE COLUMN `full_names` `fullname` char(250) NOT NULL;
RENAME TABLE old_table TO new_table;
-- mysql
ALTER TABLE `members` CHANGE COLUMN `full_names` `fullname` char(250) NOT NULL;