Rename Column
MySQL 8: ALTER TABLE students RENAME COLUMN marks TO score; Older: ALTER TABLE students CHANGE marks score INT; CHANGE requires the type again — easy to mistype.
Rename in the app too. ORM field names will break if you only change SQL.
Trap — CHANGE with the wrong type and silently converting data.
On the example next to this theory — Rename Column — aLTER TABLE changes structure without rebuilding the whole table.
Exam tip
ALTER TABLE students RENAME COLUMN marks TO score;