ALTER TABLE RENAME COLUMN
ALTER TABLE RENAME COLUMN is a SQL statement in the DDL Statements category. Renames a column in an existing table. The syntax is ALTER TABLE table_name RENAME [COLUMN] old_name TO new_name;. It returns renamed column. A typical example: ALTER TABLE employees RENAME COLUMN emp_id TO employee_id; -- Renames the column (preserves data) A close relative is CREATE TABLE, which creates a new table in the database with specified columns, data types, and constraints. A close relative is ALTER TABLE, which modifies an existing table: add/drop columns, modify data types, rename, add/drop constraints. A close relative is DROP TABLE, which permanently removes a table and all its data from the database. Cannot be undone. More about this category: Data Definition Language — CREATE TABLE, ALTER TABLE, DROP TABLE, TRUNCATE, CREATE INDEX. Related DDL Statements entries: CREATE TABLE, ALTER TABLE, DROP TABLE, TRUNCATE TABLE, RENAME TABLE, CREATE DATABASE, DROP DATABASE, CREATE SCHEMA.