As Select

Specifies that the columns of the View have the same name, data type as the result from the select.

Grammar Syntax

Click herearrow-up-right to go to the ANSI SQL Standard specification for this syntax.

circle-check

Sample Source Patterns

ANSI SQL Input Code

CREATE VIEW VIEW_NAME1
(
   COL1,
   COL2
)
AS
SELECT  
   *
FROM  
   SOMETABLE

Snowflake Output Code

Last updated

Was this helpful?