Rename a column in MySQL
Use the following query: The RENAME function is used in Oracle databases. @lad2025 mentions it below, but I thought it’d be nice to add what he said. Thank you @lad2025! You can use the RENAME COLUMN in MySQL 8.0 to rename any column you need renamed. ALTER TABLE Syntax: RENAME COLUMN: Can change a column name but not its definition. More … Read more