In a MySQL script you can write: CREATE TABLE IF NOT EXISTS foo ...; 开发者_运维问答 ... other stuff ...
Postgres 12 table created as select from other table(s) create table t1 as select t2.col1, t3.col2 fro开发者_JS百科m t2