CREATE TABLE IF NOT EXISTS table_name(id INT);
SELECT 1 FROM information_schema.tables WHERE table_schema = 'schema_name' AND table_name = 'table_name';
CREATE TABLE IF NOT EXISTS myschema.mytable (i integer);