Check out example codes for "mysql alter table add column". It will help you in understanding the concepts better.

Code Example 1

ALTER TABLE table
  ADD [COLUMN] column_name column_definition
  [FIRST|AFTER existing_column];

Code Example 2

ALTER TABLE Table_name ADD name_column INT(255);

Code Example 3

ALTER TABLE Table_name
ADD Email varchar(255);

Code Example 4

ALTER TABLE table ADD [COLUMN] column_name column_definition [FIRST|AFTER existing_column];

Code Example 5

ALTER TABLE contacts
  ADD last_name varchar(40) NOT NULL
    AFTER contact_id,
  ADD first_name varchar(35) NULL
    AFTER last_name;

Code Example 6

ALTER TABLE table
ADD COLUMN column VARCHAR (255) NOT NULL AFTER column;

Learn ReactJs, React Native from akashmittal.com