Answers for "how to create an empty table that data can be added to from another table"

SQL
1

Write a query to create an empty table from an existing table?

CREATE TABLE new_table
  AS (SELECT *
      FROM old_table WHERE 1=2);
Posted by: Guest on May-12-2021

Code answers related to "how to create an empty table that data can be added to from another table"

Code answers related to "SQL"

Browse Popular Code Answers by Language