SQLITE
CREATE TABLE TABLE_NEW AS SELECT * FROM TABLE_OLD;
CREATE TABLE TABLE_NEW AS SELECT * FROM TABLE_OLD WHERE 1=0;
ORACLE:
CREATE TABLE T_NEW AS SELECT * FROM TABLE_OLD;
CREATE TABLE T_NEW AS SELECT * FROM TABLE_OLD WHERE 1=0;
MYSQL:
CREATE TABLE T_NEW SELECT * FROM T_OLD
CREATE TABLE T_NEW SELECT * FROM T_OLD WHERE 1=2
DB2:
CREATE TABLE TABLE_NAME_NEW AS (SELECT * FROM TABLE_NAME_OLD) DEFINITION ONLY;
INSERT INTO T_NEW (SELECT * FROM TABLE_NAME_OLD);
SQLSERVER :
SELECT * INTO T_NEW FROM T_OLD ;
SELECT * INTO T_NEW FROM T_OLD WHERE 1=2;