1 2 3 4 5 6 7 8 9 10 |
create table t1 (d int primary key); create table t2 (d int primary key); insert into t1 values ("100000000"); insert into t2 values (2); create table t3 (d int primary key) as select t2.d from t2 union select t1.d from t1; select * from t3; --replace_regex /ENGINE=[a-zA-Z]+/ENGINE=DEFAULT/ show create table t3; drop table t1, t2, t3; |