Back
You can use this following query for creating the table only if it doesn't exist.
CREATE TABLE IF NOT EXISTS some_table (id INTEGER PRIMARY KEY AUTOINCREMENT, ...);
Sign up for this Intellipaat's SQL Course now, to Learn SQL concepts in detail and get certified.
31k questions
32.8k answers
501 comments
693 users