Check out example codes for "mysql create table if not exists". It will help you in understanding the concepts better.

Code Example 1

CREATE TABLE [IF NOT EXISTS] table_name(
   column_1_definition,
   column_2_definition,
   ...,
   table_constraints
) ENGINE=storage_engine;

Learn ReactJs, React Native from akashmittal.com