数据湖探索 DLI-SELECT:语法
语法
[/*+ query_rewrite_hint*/]
[ WITH [ RECURSIVE ] with_query [, ...] ]
SELECT [ ALL | DISTINCT ] select_expression [, ...]
[ FROM from_item [, ...] ]
[ WHERE condition ]
[ GROUP BY [ ALL | DISTINCT ] grouping_element [, ...] ]
[ HAVING condition]
[ { UNION | INTERSECT | EXCEPT } [ ALL | DISTINCT ] select ]
[ ORDER BY expression [ ASC | DESC ] [, ...] ]
[ OFFSET count [ ROW | ROWS ] ]
[ LIMIT { count | ALL } ]
[ FETCH { FIRST | NEXT } [ count ] { ROW | ROWS } { ONLY | WITH TIES } ]
- from_item 可以是以下形式:
- join_type 可以是以下形式:
- [ INNER ] JOIN
- LEFT [ OUTER ] JOIN
- RIGHT [ OUTER ] JOIN
- FULL [ OUTER ] JOIN
- LEFT [SEMI] JOIN
- RIGHT [SEMI] JOIN
- LEFT [ANTI] JOIN
- RIGHT [ANTI] JOIN
- CROSS JOIN
- grouping_element 可以是以下形式:
- ()
- expression
- GROUPING SETS ( ( column [, ...] ) [, ...] )
- CUBE ( column [, ...] )
- ROLLUP ( column [, ...] )
- GaussDB数据库SQL语法_SQL语法_CREATE_ALTER
- 什么是Spark SQL作业_数据湖探索DLISpark SQL作业
- 什么是Flink OpenSource SQL_数据湖探索_Flink OpenSource SQL
- 什么是数据湖探索服务_数据湖探索DLI用途与特点
- GaussDB(DWS)常用SQL_常用SQL命令_SQL语法
- GaussDB数据库产品特性_华为gaussdb_高斯语法
- 什么是跨源连接-数据湖探索DLI跨源连接
- 什么是弹性资源池_数据湖探索DLI弹性资源池
- 连接GaussDB数据库_华为高斯数据库_新建数据库_语法
- GaussDB数据库备份与恢复_华为高斯数据库_新建高斯数据库_高斯语法