Check out example codes for "how to alter table column name in mysql". It will help you in understanding the concepts better.

Code Example 1

ALTER TABLE table_name

MODIFY column_name datatype;

Code Example 2

ALTER TABLE contacts
  ADD last_name varchar(40) NOT NULL
    AFTER contact_id,
  ADD first_name varchar(35) NULL
    AFTER last_name;

Code Example 3

ALTER TABLE your_table_name RENAME COLUMN original_column_name TO new_column_name;

Learn ReactJs, React Native from akashmittal.com