Check out example codes for "how to move a columns location in mysql". It will help you in understanding the concepts better.

Code Example 1

ALTER TABLE table_name MODIFY password varchar(20) AFTER id

Learn ReactJs, React Native from akashmittal.com