Check out example codes for "renaming a column in mysql". It will help you in understanding the concepts better.

Code Example 1

ALTER TABLE table_name RENAME COLUMN old_name TO new_name;

Code Example 2

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

Code Example 3

alter table product change price price_kg float;

Learn ReactJs, React Native from