CREATE TABLE AS SQL - Language Statements CREATE TABLE AS Creates a new table 2001-03-03 CREATE [ TEMPORARY | TEMP ] TABLE table [ (column [, ...] ) ] AS select_clause 1998-09-22 Inputs TEMPORARY or TEMP If specified, the table is created only for this session, and is automatically dropped on session exit. Existing permanent tables with the same name are not visible (in this session) while the temporary table exists. Any indexes created on a temporary table are automatically temporary as well. table The name of a new table to be created. column The name of a column. Multiple column names can be specified using a comma-delimited list of column names. If column names are not provided, they are taken from the output column names of the SELECT query. select_clause A valid query statement. Refer to SELECT for a description of the allowed syntax. 1998-09-22 Outputs Refer to CREATE TABLE and SELECT for a summary of possible output messages. 1998-09-22 Description CREATE TABLE AS enables a table to be created from the contents of an existing table. It is functionally equivalent to , but with perhaps a more direct syntax.