Alter Table Mysql Drop Column. To do this you use the ALTER TABLE DROP COLUMN statement as follows. Ie to delete a column from a table using SQL we specify that we want to change the table structure via the ALTER TABLE statement followed by the DROP COLUMN statement.
MySQL ALTER command is used to modify an existing table by adding a new column or removing an existing column or changing the data type of column. Lets look at an example that shows how to drop a column in a MySQL table using the ALTER TABLE statement. Introduction to SQL Server ALTER TABLE DROP COLUMN.
DROP COLUN IN A Table.
You can drop or delete existing columns by the Alter command. The alter statement of SQL is used to Alter the existing table structure of the database. The syntax to drop a column in a table in MySQL using the ALTER TABLE statement is. Multiple columns can be dropped with a single query by simply comma separating a list of DROP COLUMN statments.