how to rename a column in mysql table code example
Example 1: how to change column name in mysql
alter table product change price price_kg float;
Example 2: modify column name in tsql
sp_rename 'table_name.old_column', 'new_name', 'COLUMN';
alter table product change price price_kg float;
sp_rename 'table_name.old_column', 'new_name', 'COLUMN';