# Joins

{% columns %}
{% column %}
{% content-ref url="/pages/Aby20KqZu56PdqNNTeVM" %}
[JOIN Syntax](/docs/server/reference/sql-statements/data-manipulation/selecting-data/joins/join-syntax.md)
{% endcontent-ref %}
{% endcolumn %}

{% column %}
Main `JOIN` page, documenting all join types available in MariaDB.
{% endcolumn %}
{% endcolumns %}

{% columns %}
{% column %}
{% content-ref url="/pages/BRHNBfBssVtfdyOTzCHv" %}
[Joining Tables with JOIN Clauses](/docs/server/mariadb-quickstart-guides/mariadb-join-guide.md)
{% endcontent-ref %}
{% endcolumn %}

{% column %}
Introduction to joining tables in MariaDB.
{% endcolumn %}
{% endcolumns %}

{% columns %}
{% column %}
{% content-ref url="/pages/rZWdKMRnZeLyRKWmlJRU" %}
[Advanced Joins](/docs/server/mariadb-quickstart-guides/more-advanced-joins.md)
{% endcontent-ref %}
{% endcolumn %}

{% column %}
Introduction to advanced joins in MariaDB.
{% endcolumn %}
{% endcolumns %}

{% columns %}
{% column %}
{% content-ref url="/pages/QJCehNVztiPPBZ78yOny" %}
[Comma vs JOIN](/docs/server/reference/sql-statements/data-manipulation/selecting-data/joins/comma-vs-join.md)
{% endcontent-ref %}
{% endcolumn %}

{% column %}
How to use a comma instead of a `JOIN` clause, and why you should always prefer the latter.
{% endcolumn %}
{% endcolumns %}


---

# 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-statements/data-manipulation/selecting-data/joins.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.
