how to change data type in column mysql code example
Example 1: sql add column
ALTER TABLE Customers
ADD Email varchar(255);
Example 2: change data type in mysql
ALTER TABLE table_name
CHANGE COLUMN column_name column_name datatype;
ALTER TABLE Customers
ADD Email varchar(255);
ALTER TABLE table_name
CHANGE COLUMN column_name column_name datatype;