mysql alter table name column code example
Example 1: change column name mysql command line
ALTER TABLE `members` CHANGE COLUMN `full_names` `fullname` varchar(100) NOT NULL;
Example 2: how to alter table name in mysql
RENAME TABLE old_name TO new_name;
-- or
ALTER TABLE old_name RENAME TO new_name;
-- or
ALTER TABLE old_name RENAME new_name;