Introduction
ALTER TABLE lets you change a table's structure without deleting data. You can add, remove, or modify columns easily.
You want to add a new column to store extra information.
You need to remove a column that is no longer needed.
You want to change the data type of a column to fit new data.
You want to rename a column for better clarity.
You want to add or drop constraints like primary keys or indexes.