8. Syntax
8
Alter Table ADD (columnName columntype);
Parameters
1. columnName: specifies the name of the new Column.
2. columnType: It specifies the datatype of the new table.
Adding a new Column
9. Syntax
9
Alter Table tableName MODIFY (columnName
columntype);
Parameters
1. columnName: specifies the name of the Column.
2. columnType: It specifies the datatype of the Column.
3. tableName: It specifies the name of the Table.
Modifying a Column
10. Syntax
10
Alter Table tablename DROP(columnName
columntype);
Parameters
1. columnName: specifies the name of the new Column.
2. columnType: It specifies the datatype of the new table.
Dropping a Column