xxxxxxxxxx
CREATE TABLE IF NOT EXISTS table_name(id INT);
xxxxxxxxxx
SELECT 1 FROM information_schema.tables
WHERE table_schema = 'schema_name' AND table_name = 'table_name';
xxxxxxxxxx
CREATE TABLE IF NOT EXISTS table_name (
column1 data_type1,
column2 data_type2,
);