create table if not exists TableName (col1 typ1, ..., colN typN)
SELECT name FROM sqlite_master WHERE type='table' AND name='table_name';