> For the complete documentation index, see [llms.txt](https://mariadb.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mariadb.com/docs/server/reference/sql-structure/operators.md).

# Operators

{% columns %}
{% column %}
{% content-ref url="/pages/H2YulXGc4CpAsfCwESA5" %}
[Operator Precedence](/docs/server/reference/sql-structure/operators/operator-precedence.md)
{% endcontent-ref %}
{% endcolumn %}

{% column %}
Understand operator precedence in MariaDB Server SQL. This section details the order in which operators are evaluated within expressions, crucial for writing accurate and predictable queries.
{% endcolumn %}
{% endcolumns %}

{% columns %}
{% column %}
{% content-ref url="/pages/huZgQHJXZRwqd2PkLis2" %}
[Arithmetic Operators](/docs/server/reference/sql-structure/operators/arithmetic-operators.md)
{% endcontent-ref %}
{% endcolumn %}

{% column %}
Learn about arithmetic operators in MariaDB Server SQL. This section details how to perform mathematical calculations like addition, subtraction, multiplication, and division within your queries.
{% endcolumn %}
{% endcolumns %}

{% columns %}
{% column %}
{% content-ref url="/pages/NnP7rY5izBQteTXtgaAl" %}
[Assignment Operators](/docs/server/reference/sql-structure/operators/assignment-operators.md)
{% endcontent-ref %}
{% endcolumn %}

{% column %}
Learn about assignment operators in MariaDB Server SQL. This section details how to assign values to variables and columns, essential for data manipulation and programmatic logic.
{% endcolumn %}
{% endcolumns %}

{% columns %}
{% column %}
{% content-ref url="/pages/FRCGfYQL4yidz9Z7goDE" %}
[Comparison Operators](/docs/server/reference/sql-structure/operators/comparison-operators.md)
{% endcontent-ref %}
{% endcolumn %}

{% column %}
Learn about comparison operators in MariaDB Server SQL. This section details operators like =, >, <, and LIKE used to compare values in conditions, essential for filtering and joining data.
{% endcolumn %}
{% endcolumns %}

{% columns %}
{% column %}
{% content-ref url="/pages/qcgUjPG93AthUg8zeZyR" %}
[Logical Operators](/docs/server/reference/sql-structure/operators/logical-operators.md)
{% endcontent-ref %}
{% endcolumn %}

{% column %}
Learn about logical operators in MariaDB Server SQL. This section details operators like AND, OR, and NOT used to combine or negate conditions, essential for complex filtering and data selection.
{% endcolumn %}
{% endcolumns %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
