Alter table is used to add, modify or delete coloumns in an existing table. It is also used to rename a table.
You can also set command drop and add various constraints on an existing table.
ALTER TABLE table_name ADD
(
column 1 datatype(size),
column 2 datatype(size),
column 3 datatype(size),
.........
);
ALTER TABLE table_name MODIFY
(
column 1 datatype(size),
column 2 datatype(size),
column 3 datatype(size),
.........
);
ALTER TABLE table_name RENAME COLUMN previous_column_name TO new_column_name;
ALTER TABLE table_name RENAME COLUMN previous_column_name TO new_column_name;
ALTER TABLE table_name DROP column_name;