Logo Luan Morina
Change column position

You can change the column position of a MySQL table without losing data with this command:

ALTER TABLE table_name MODIFY COLUMN column_last_name VARCHAR(40) AFTER column_first_name;
   Change MySQL Table Column Position