Check out example codes for "set column to not null mysql". It will help you in understanding the concepts better.

Code Example 1

ALTER TABLE Person MODIFY P_Id INT(11) NOT NULL;

Learn ReactJs, React Native from akashmittal.com