Check out example codes for "mysql default value". It will help you in understanding the concepts better.

Code Example 1

CREATE TABLE table_name(
   column_name data_type,
   Column_name data_type DEFAULT ‘value’
);

Code Example 2

ALTER TABLE mytbl ALTER j SET DEFAULT 1000;

Learn ReactJs, React Native from akashmittal.com