I've tried to rename a column from row
which is int in my db to row_number
.
The name of my table is screening_occapancy. I tried this:
ALTER TABLE screening_occapancy CHANGE COLUMN row to row_number;
The error is: Error Code: 1064. You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'row to row_number' at line 1.