Help Center/ Data Lake Insight/ Flink SQL Syntax Reference/ Flink OpenSource SQL 1.12 Syntax Reference/ Constraints and Definitions/ Syntax/ Data Definition Language (DDL)/ CREATE VIEW
Updated on 2022-09-15 GMT+08:00
CREATE VIEW
Syntax
CREATE VIEW [IF NOT EXISTS] view_name
[{columnName [, columnName ]* }] [COMMENT view_comment]
AS query_expression Function
Create a view with multiple layers nested in it to simplify the development process.
Description
IF NOT EXISTS
If the view already exists, nothing happens.
Example
Create a view named viewName.
create view viewName as select * from dataSource
Parent topic: Data Definition Language (DDL)
What is your overall rating for this page?
0
1
2
3
4
5
6
7
8
9
10
Very dissatisfiedVery satisfied
Thank you very much for your feedback. We will continue working to improve the documentation.
The system is busy. Please try again later.