Skip to content

Commit 083d479

Browse files
committed
[SPARK-31305][SQL][DOCS] Add a page to list all commands in SQL Reference
1 parent 3884455 commit 083d479

File tree

1 file changed

+61
-1
lines changed

1 file changed

+61
-1
lines changed

docs/sql-ref-syntax.md

Lines changed: 61 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,64 @@ license: |
1919
limitations under the License.
2020
---
2121

22-
Spark SQL is Apache Spark's module for working with structured data. The SQL Syntax section describes the SQL syntax in detail along with usage examples when applicable.
22+
Spark SQL is Apache Spark's module for working with structured data. The SQL Syntax section describes the SQL syntax in detail along with usage examples when applicable. This document provides a list of Data Definition and Data Manipulation Statements, as well as Data Retrieval and Auxiliary Statements.
23+
24+
### Data Definition Statements
25+
- [ALTER DATABASE](sql-ref-syntax-ddl-alter-database.html)
26+
- [ALTER TABLE](sql-ref-syntax-ddl-alter-table.html)
27+
- [ALTER VIEW](sql-ref-syntax-ddl-alter-view.html)
28+
- [CREATE DATABASE](sql-ref-syntax-ddl-create-database.html)
29+
- [CREATE FUNCTION](sql-ref-syntax-ddl-create-function.html)
30+
- [CREATE TABLE](sql-ref-syntax-ddl-create-table.html)
31+
- [CREATE VIEW](sql-ref-syntax-ddl-create-view.html)
32+
- [DROP DATABASE](sql-ref-syntax-ddl-drop-database.html)
33+
- [DROP FUNCTION](sql-ref-syntax-ddl-drop-function.html)
34+
- [DROP TABLE](sql-ref-syntax-ddl-drop-table.html)
35+
- [DROP VIEW](sql-ref-syntax-ddl-drop-view.html)
36+
- [REPAIR TABLE](sql-ref-syntax-ddl-repair-table.html)
37+
- [TRUNCATE TABLE](sql-ref-syntax-ddl-truncate-table.html)
38+
- [USE DATABASE](sql-ref-syntax-qry-select-usedb.html)
39+
40+
### Data Manipulation Statements
41+
- [INSERT INTO](sql-ref-syntax-dml-insert-into.html)
42+
- [INSERT OVERWRITE](sql-ref-syntax-dml-insert-overwrite-table.html)
43+
- [INSERT OVERWRITE DIRECTORY](sql-ref-syntax-dml-insert-overwrite-directory.html)
44+
- [INSERT OVERWRITE DIRECTORY with Hive format](sql-ref-syntax-dml-insert-overwrite-directory-hive.html)
45+
- [LOAD](sql-ref-syntax-dml-load.html)
46+
47+
### Data Retrieval Statements
48+
- [CLUSTER BY Clause](sql-ref-syntax-qry-select-clusterby.html)
49+
- [DISTRIBUTE BY Clause](sql-ref-syntax-qry-select-distribute-by.html)
50+
- [EXPLAIN](sql-ref-syntax-qry-explain.html)
51+
- [GROUP BY Clause](sql-ref-syntax-qry-select-groupby.html)
52+
- [HAVING Clause](sql-ref-syntax-qry-select-having.html)
53+
- [LIMIT Clause](sql-ref-syntax-qry-select-limit.html)
54+
- [ORDER BY Clause](sql-ref-syntax-qry-select-orderby.html)
55+
- [SORT BY Clause](sql-ref-syntax-qry-select-sortby.html)
56+
- [WHERE Clause](sql-ref-syntax-qry-select-where.html)
57+
58+
### Auxiliary Statements
59+
- [ADD FILE](sql-ref-syntax-aux-resource-mgmt-add-file.html)
60+
- [ADD JAR](sql-ref-syntax-aux-resource-mgmt-add-jar.html)
61+
- [ANALYZE TABLE](sql-ref-syntax-aux-analyze-table.html)
62+
- [CACHE TABLE](sql-ref-syntax-aux-cache-cache-table.html)
63+
- [CLEAR CACHE](sql-ref-syntax-aux-cache-clear-cache.html)
64+
- [DESCRIBE DATABASE](sql-ref-syntax-aux-describe-database.html)
65+
- [DESCRIBE FUNCTION](sql-ref-syntax-aux-describe-function.html)
66+
- [DESCRIBE QUERY](sql-ref-syntax-aux-describe-query.html)
67+
- [DESCRIBE TABLE](sql-ref-syntax-aux-describe-table.html)
68+
- [LIST FILE](sql-ref-syntax-aux-resource-mgmt-list-file.html)
69+
- [LIST JAR](sql-ref-syntax-aux-resource-mgmt-list-jar.html)
70+
- [REFRESH](sql-ref-syntax-aux-cache-refresh.html)
71+
- [REFRESH TABLE](sql-ref-syntax-aux-refresh-table.html)
72+
- [SET](sql-ref-syntax-aux-conf-mgmt-set.html)
73+
- [SHOW COLUMNS](sql-ref-syntax-aux-show-columns.html)
74+
- [SHOW CREATE TABLE](sql-ref-syntax-aux-show-create-table.html)
75+
- [SHOW DATABASES](sql-ref-syntax-aux-show-databases.html)
76+
- [SHOW FUNCTIONS](sql-ref-syntax-aux-show-functions.html)
77+
- [SHOW PARTITIONS](sql-ref-syntax-aux-show-partitions.html)
78+
- [SHOW TABLE EXTENDED](sql-ref-syntax-aux-show-table.html)
79+
- [SHOW TABLES](sql-ref-syntax-aux-show-tables.html)
80+
- [SHOW TBLPROPERTIES](sql-ref-syntax-aux-show-tblproperties.html)
81+
- [UNCACHE TABLE](sql-ref-syntax-aux-cache-uncache-table.html)
82+
- [UNSET](sql-ref-syntax-aux-conf-mgmt-reset.html)

0 commit comments

Comments
 (0)