rename one column and select other in mysql query code example
Example: rename column mysql
ALTER TABLE tableName CHANGE `oldcolname` `newcolname` datatype(length);
(you can remove the backticks if it doesn't work)
ALTER TABLE tableName CHANGE `oldcolname` `newcolname` datatype(length);
(you can remove the backticks if it doesn't work)