elasticsearch/docs/reference/query-languages/sql/sql-commands.md
Craig Taverner a8b2428dd1
9.0 backport docs query languages (#125113)
* Restructure query-languages docs files for clarity (#124797)

In a few previous PR's we restructured the ES|QL docs to make it possible to generate them dynamically.

This PR just moves a few files around to make the query languages docs easier to work with, and a little more organized like the ES|QL docs.

A bit part of this was setting up redirects to the new locations, so other repo's could correctly link to the elasticsearch docs.

* After running tests, we revert a few features

* Fix build.gradle and improved some generating code

* After running tests

* Update x-pack/plugin/esql/build.gradle
2025-03-19 04:24:11 +11:00

27 lines
869 B
Markdown

---
mapped_pages:
- https://www.elastic.co/guide/en/elasticsearch/reference/current/sql-commands.html
---
# SQL Commands [sql-commands]
This section contains the list of SQL commands supported by Elasticsearch SQL along with their syntax:
[DESCRIBE TABLE](/reference/query-languages/sql/sql-syntax-describe-table.md)
: Describe a table.
[SELECT](/reference/query-languages/sql/sql-syntax-select.md)
: Retrieve rows from zero or more tables.
[SHOW CATALOGS](/reference/query-languages/sql/sql-syntax-show-catalogs.md)
: List available catalogs.
[SHOW COLUMNS](/reference/query-languages/sql/sql-syntax-show-columns.md)
: List columns in table.
[SHOW FUNCTIONS](/reference/query-languages/sql/sql-syntax-show-functions.md)
: List supported functions.
[SHOW TABLES](/reference/query-languages/sql/sql-syntax-show-tables.md)
: List tables available.