morrySnow commented on code in PR #1923:
URL: https://github.com/apache/doris-website/pull/1923#discussion_r1942191628


##########
docs/sql-manual/sql-statements/table-and-view/view/CREATE-VIEW.md:
##########
@@ -24,37 +24,72 @@ specific language governing permissions and limitations
 under the License.
 -->
 
-
 ## Description
 
-This statement is used to create a logical view
-grammar:
+This statement is used to create a logical view using a specified query 
statement.
+
+## Syntax
+
+```sql
+CREATE VIEW [IF NOT EXISTS] [<db_name>.]<view_name>
+   ([<column_definition>])

Review Comment:
   ```suggestion
      [(column_definition>)]
   ```



##########
docs/sql-manual/sql-statements/table-and-view/view/ALTER-VIEW.md:
##########
@@ -24,47 +24,63 @@ specific language governing permissions and limitations
 under the License.
 -->
 
-
-
-
 ## Description
 
-This statement is used to modify the definition of a view
+This statement is used to modify the definition of a logical view.
 
-grammar:
+## Syntax
 
 ```sql
-ALTER VIEW
-[db_name.]view_name
-(column1[ COMMENT "col comment"][, column2, ...])
-AS query_stmt
+ALTER VIEW [<db_name>.]<view_name> 
+ ([<column_definition>])

Review Comment:
   ```suggestion
    [(<column_definition>)]
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to