Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

how to create an empty table from an existing table

CREATE TABLE suppliers 
  AS (SELECT * 
      FROM companies WHERE 1=2); 
 
PREVIOUS NEXT
Tagged: #create #empty #table #existing #table
ADD COMMENT
Topic
Name
9+1 =