Check out example codes for "sql change column types". It will help you in understanding the concepts better.

Code Example 1

ALTER TABLE table_name
ALTER COLUMN column_name datatype;

-- Example
ALTER TABLE product
ALTER COLUMN description VARCHAR(250);

Learn ReactJs, React Native from akashmittal.com