diff --git a/docs/sql_index.md b/docs/sql_index.md index ee231d13841f9e05484e8eae20cdf103dbab5846..f01e810b173384a2656a425a163728e8cc116157 100644 --- a/docs/sql_index.md +++ b/docs/sql_index.md @@ -1,63 +1,183 @@ -# Язык SQL +# Команды и термины SQL -* [Data Control Language](reference/sql/dcl.md) (DCL) -* [Data Definition Language](reference/sql/ddl.md) (DDL) -* [Data Manipulation Language](reference/sql/dml.md) (DML) -* [Data Query Language](reference/sql/dql.md) (DQL) -* [Ðеблокирующие запроÑÑ‹](reference/sql/non_block.md) -* [Именование объектов](reference/sql/object.md) -* [Типы данных](reference/sql_types.md) -* [Параметризованные запроÑÑ‹](reference/sql/parametrization.md) -* [СовмеÑтимоÑÑ‚ÑŒ Ñ ANSI](reference/ansi_sql.md) -* [ТеÑтовые таблицы](reference/legend.md) +<style> +h1, +form { + column-span: all; +} -## Команды {: #commands } +article { + column-count: 3; +} + +@media screen and (max-width: 59.984375em) { + article { + column-count: 2; + } +} + +@media screen and (max-width: 30em) { + article { + column-count: 1; + } +} + +article > p { + margin-block-start: unset; + break-after: avoid; +} + +article.md-typeset.md-typeset ul { + break-inside: avoid; + list-style-type: none; + margin-left: 0; + li { + margin-left: 0; + } +} +</style> + +<b>A</b> * [ALTER PLUGIN](reference/sql/alter_plugin.md) * [ALTER PROCEDURE](reference/sql/alter_procedure.md) * [ALTER SYSTEM](reference/sql/alter_system.md) * [ALTER USER](reference/sql/alter_user.md) +* [AVG](reference/sql/aggregate.md#functions) + +<b>B</b> + +* [BOOLEAN](reference/sql_types.md#boolean) + +<b>C</b> + * [CALL](reference/sql/call.md) +* [CASE](reference/sql/case.md) +* [CAST](reference/sql/cast.md) +* [column](reference/sql/object.md) +* [COUNT](reference/sql/aggregate.md#functions) * [CREATE INDEX](reference/sql/create_index.md) * [CREATE PLUGIN](reference/sql/create_plugin.md) * [CREATE PROCEDURE](reference/sql/create_procedure.md) * [CREATE ROLE](reference/sql/create_role.md) * [CREATE TABLE](reference/sql/create_table.md) * [CREATE USER](reference/sql/create_user.md) +* [CTE](reference/sql/with.md) +* [CURRENT_DATE](reference/sql/current_date.md) + +<b>D</b> + +* [DATETIME](reference/sql_types.md#datetime) +* [DCL](reference/sql/dcl.md) +* [DDL](reference/sql/ddl.md) +* [DECIMAL](reference/sql_types.md#decimal) * [DELETE](reference/sql/delete.md) +* [DISTINCT](reference/sql/select.md#params) +* [DML](reference/sql/dml.md) +* [DOUBLE](reference/sql_types.md#double) +* [DQL](reference/sql/dql.md) * [DROP INDEX](reference/sql/drop_index.md) * [DROP PLUGIN](reference/sql/drop_plugin.md) * [DROP PROCEDURE](reference/sql/drop_procedure.md) * [DROP ROLE](reference/sql/drop_role.md) * [DROP TABLE](reference/sql/drop_table.md) * [DROP USER](reference/sql/drop_user.md) + +<b>E</b> + +* [EXCEPT DISTINCT](reference/sql/select.md#except_with_subquery) +* [execution plan](overview/glossary.md#execution_plan) * [EXPLAIN](reference/sql/explain.md) +* [expression](reference/sql/aggregate.md#expression) + +<b>G</b> + * [GRANT](reference/sql/grant.md) +* [GROUP BY](reference/sql/select.md#filter_and_group) +* [GROUP_CONCAT](reference/sql/aggregate.md#functions) + +<b>I</b> + +* [ILIKE](reference/sql/ilike.md) +* [INNER JOIN](reference/sql/join.md#inner_join) * [INSERT](reference/sql/insert.md) -* [REVOKE](reference/sql/revoke.md) -* [SELECT](reference/sql/select.md) -* [UPDATE](reference/sql/update.md) -* [VALUES](reference/sql/values.md) +* [INTEGER](reference/sql_types.md#integer) -## СинтакÑÐ¸Ñ {: #syntax } +<b>J</b> -* [ИÑпользование CTE](reference/sql/with.md) -* [ИÑпользование JOIN](reference/sql/join.md) +* [JOIN](reference/sql/join.md) -## Функции и Ð²Ñ‹Ñ€Ð°Ð¶ÐµÐ½Ð¸Ñ {: #functions_and_expressions } +<b>L</b> -* [Ðгрегатные функции](reference/sql/aggregate.md) -* [CASE](reference/sql/case.md) -* [CAST](reference/sql/cast.md) -* [ILIKE](reference/sql/ilike.md) +* [LEFT OUTER JOIN](reference/sql/join.md#left_join) * [LIKE](reference/sql/like.md) +* [LIMIT](reference/sql/select.md#params) +* [LIMIT ALL](reference/sql/select.md#params) +* [LIMIT NULL](reference/sql/select.md#params) * [LOWER](reference/sql/lower.md) + +<b>M</b> + +* [MAX](reference/sql/aggregate.md#functions) +* [MIN](reference/sql/aggregate.md#functions) +* [motion](reference/sql/explain.md#data_motion_types) + +<b>N</b> + +* [NUMBER](reference/sql_types.md#number) + +<b>O</b> + +* [object](reference/sql/object.md) +* [opcode](overview/glossary.md#opcode) + +<b>P</b> + +* [plugin](architecture/plugins.md) +* [procedure](tutorial/access_control.md#proc_access) +* [projection](reference/sql/explain.md#plan_structure) + +<b>R</b> + +* [REVOKE](reference/sql/revoke.md) +* [role](tutorial/access_control.md#role_model) + +<b>S</b> + +* [SCALAR](reference/sql_types.md#scalar) +* [scan](reference/sql/explain.md#plan_structure) +* [SELECT](reference/sql/select.md) +* [sharding key](overview/glossary.md#sharding_key) +* [stored procedure](overview/glossary.md#stored_procedure) * [SUBSTR](reference/sql/substr.md) -* [TRIM](reference/sql/trim.md) -* [UPPER](reference/sql/upper.md) +* [SUM](reference/sql/aggregate.md#functions) -### Дата и Ð²Ñ€ÐµÐ¼Ñ {: #date_and_time } +<b>T</b> -* [CURRENT_DATE](reference/sql/current_date.md) +* [table](overview/glossary.md#table) +* [TEXT](reference/sql_types.md#text) * [TO_CHAR](reference/sql/to_char.md) * [TO_DATE](reference/sql/to_date.md) +* [TOTAL](reference/sql/aggregate.md#functions) +* [TRIM](reference/sql/trim.md) +* [type](reference/sql_types.md) + +<b>U</b> + +* [UNION](reference/sql/select.md#params) +* [UNION ALL](reference/sql/select.md#params) +* [UNSIGNED](reference/sql_types.md#unsigned) +* [UPDATE](reference/sql/update.md) +* [UPPER](reference/sql/lower.md) +* [user](tutorial/access_control.md#users) +* [UUID](reference/sql_types.md#uuid) + +<b>V</b> + +* [VALUES](reference/sql/values.md) +* [VARCHAR](reference/sql_types.md#varchar) +* [version](overview/versioning.md) + +<b>W</b> + +* [WHERE](reference/sql/select.md#select_with_filter) diff --git a/mkdocs.yml b/mkdocs.yml index ca79c2fd9ef45fde8a333afca89ffe591c389ffe..e0a9a382c45b114c9eb53dcbcd01d8c19fd9c57d 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -60,7 +60,7 @@ nav: - tutorial/connectors/jdbc.md - Справочные материалы: - Язык SQL: - - Оглавление: sql_index.md + - Команды и термины SQL: sql_index.md - reference/sql/dcl.md - reference/sql/ddl.md - reference/sql/dml.md