Write a query to create an empty table from an existing table? code example
Example: Write a query to create an empty table from an existing table?
CREATE TABLE new_table
AS (SELECT *
FROM old_table WHERE 1=2);
CREATE TABLE new_table
AS (SELECT *
FROM old_table WHERE 1=2);