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
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.