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

Code Example 1

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

Learn ReactJs, React Native from akashmittal.com