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

Code Example 1

CREATE TABLE IF NOT EXISTS [schema_name].table_name (...);

Code Example 2

CREATE TABLE IF NOT EXISTS some_table (id INTEGER PRIMARY KEY AUTOINCREMENT, ...);

Learn ReactJs, React Native from akashmittal.com