I want to change the column positions of my database table without losing data.
For example, here is the current table:
To this:
Try this:
ALTER TABLE table_name MODIFY password varchar(20) AFTER id