CREATE TABLE t1 (a INT) ENGINE=InnoDB; EXECUTE IMMEDIATE 'CREATE OR REPLACE TABLE t1 ENGINE=InnoDB AS SELECT 1 AS b'; DROP TABLE t1;