CREATE VIEW Syntax
Parameters
OR REPLACE
OR REPLACE
Any existing table/view with the same name will be dropped before creating this view
<schema name>
<schema name>
Name of the schema that will contain the created view; if no schema is specified, the
view will be created in the user’s default schema
<view name>
<view name>
Name of the view to create; must adhere to the supported
naming criteria
<select statement>
<select statement>
The query that will define both the structure and content of the created view
Examples
To create a view that is a copy of an existing table, failing if a table or view with the same name as the target view already exists:CREATE VIEW Example