Adicione nova coluna à tabela MySQL
ALTER TABLE `TABLE_NAME`
ADD `COLUMN_NAME` VARCHAR(50) NULL
AFTER `COLUMN_NAME_AFTER`;
Lokesh003Coding
ALTER TABLE `TABLE_NAME`
ADD `COLUMN_NAME` VARCHAR(50) NULL
AFTER `COLUMN_NAME_AFTER`;
ALTER TABLE table
ADD COLUMN column VARCHAR (255) NOT NULL AFTER column;
ALTER TABLE table
ADD [COLUMN] column_name column_definition
[FIRST|AFTER existing_column];
ALTER TABLE contacts
ADD last_name varchar(40) NOT NULL
AFTER contact_id,
ADD first_name varchar(35) NULL
AFTER last_name;
ALTER TABLE `employees`CHANGE `emp_id` `emp_id` int(11) NULL;
mysql> alter database university character set utf8 collate utf8_general_ci;