How to Remove a Column in MySQL

Dropping a column in MySQL involves using the ALTER TABLE command. The typical syntax is as follows:

ALTER TABLE table_name DROP COLUMN column_name;

--The COLUMN keyword is actually optional
ALTER TABLE table_name DROP column_name;
database icon
From MySQL query to chart to Slack in seconds
Get to answers faster, together, with PopSQL and MySQL