ALTER Command

 

ALTER Command

Description:
The ALTER command is used to modify the structure of an existing table.

Syntax:

ALTER TABLE table_name
ADD column datatype;

Example:

ALTER TABLE student
ADD age INT;



Comments

Popular posts from this blog

Important MySQL Commands