renaming a column in mysql
snippet in sql

renaming a column in mysql

user1499

ALTER TABLE tableName RENAME COLUMN "oldcolname" TO "newcolname" datatype(length);

cmd to rename a collumn name in sql

user5675

ALTER TABLE table_name RENAME COLUMN old_name TO new_name;

how to change column name in mysql

user927

alter table product change price price_kg float;