# Sequences

{% content-ref url="/pages/A4y7aaupMEUcvWRGGGZG" %}
[Sequence Overview](/docs/server/reference/sql-structure/sequences/sequence-overview.md)
{% endcontent-ref %}

{% content-ref url="/pages/7Gk8FHG3shKnN1pFCVfS" %}
[CREATE SEQUENCE](/docs/server/reference/sql-structure/sequences/create-sequence.md)
{% endcontent-ref %}

{% content-ref url="/pages/LEzhrCb38GuGysDqXBsw" %}
[SHOW CREATE SEQUENCE](/docs/server/reference/sql-statements/administrative-sql-statements/show/show-create-sequence.md)
{% endcontent-ref %}

{% content-ref url="/pages/SV3w5hjmK2gz5IGw0Aa0" %}
[ALTER SEQUENCE](/docs/server/reference/sql-structure/sequences/alter-sequence.md)
{% endcontent-ref %}

{% content-ref url="/pages/pJXauHixmHrhyjJZIjVD" %}
[DROP SEQUENCE](/docs/server/reference/sql-structure/sequences/drop-sequence.md)
{% endcontent-ref %}

{% content-ref url="/pages/sGlywLBXWWAjCRnzWNmf" %}
[SEQUENCE Functions](/docs/server/reference/sql-structure/sequences/sequence-functions.md)
{% endcontent-ref %}

{% content-ref url="/pages/8qZKhA6PyUtG1SLBkGvg" %}
[Information Schema SEQUENCES Table](/docs/server/reference/system-tables/information-schema/information-schema-tables/information-schema-sequences-table.md)
{% endcontent-ref %}

{% content-ref url="/pages/fhWQQ2nu9nmXas76QmFn" %}
[SHOW TABLES](/docs/server/reference/sql-statements/administrative-sql-statements/show/show-tables.md)
{% endcontent-ref %}

{% content-ref url="/pages/SUWg8D62OvxETDaTr0Vd" %}
[Error 4084: Sequence has run out](/docs/server/reference/error-codes/mariadb-error-codes-4000-to-4099/e4084.md)
{% endcontent-ref %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://mariadb.com/docs/server/reference/sql-structure/sequences.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
