# Functions & Operators

| Name                                                                                                                                                        | Description                                                                                                                         | Added                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [+](/docs/server/reference/sql-structure/operators/arithmetic-operators/addition-operator.md)                                                               | Addition operator                                                                                                                   |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [/](/docs/server/reference/sql-structure/operators/arithmetic-operators/division-operator.md)                                                               | Division operator                                                                                                                   |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [\*](/docs/server/reference/sql-structure/operators/arithmetic-operators/multiplication-operator.md)                                                        | Multiplication operator                                                                                                             |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [%](/docs/server/reference/sql-structure/operators/arithmetic-operators/modulo-operator.md)                                                                 | Modulo operator. Returns the remainder of N divided by M                                                                            |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [-](/docs/server/reference/sql-structure/operators/arithmetic-operators/subtraction-operator.md)                                                            | Subtraction operator                                                                                                                |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [!=](/docs/server/reference/sql-structure/operators/comparison-operators/not-equal.md)                                                                      | Not equals                                                                                                                          |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [<](/docs/server/reference/sql-structure/operators/comparison-operators/less-than.md)                                                                       | Less than                                                                                                                           |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [<=](/docs/server/reference/sql-structure/operators/comparison-operators/less-than-or-equal.md)                                                             | Less than or equal                                                                                                                  |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [<=>](/docs/server/reference/sql-structure/operators/comparison-operators/null-safe-equal.md)                                                               | NULL-safe equal                                                                                                                     |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [=](/docs/server/reference/sql-structure/operators/comparison-operators/equal.md)                                                                           | Equal                                                                                                                               |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [>](/docs/server/reference/sql-structure/operators/comparison-operators/greater-than.md)                                                                    | Greater than                                                                                                                        |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [>=](/docs/server/reference/sql-structure/operators/comparison-operators/greater-than-or-equal.md)                                                          | Greater than or equal                                                                                                               |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [&](/docs/server/reference/sql-functions/secondary-functions/bit-functions-and-operators/bitwise_and.md)                                                    | Bitwise AND                                                                                                                         |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [<<](/docs/server/reference/sql-functions/secondary-functions/bit-functions-and-operators/shift-left.md)                                                    | Shift left                                                                                                                          |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [>>](/docs/server/reference/sql-functions/secondary-functions/bit-functions-and-operators/shift-right.md)                                                   | Shift right                                                                                                                         |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [^](/docs/server/reference/sql-functions/secondary-functions/bit-functions-and-operators/bitwise-xor.md)                                                    | Bitwise XOR                                                                                                                         |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [!](/docs/server/reference/sql-structure/operators/logical-operators/not.md)                                                                                | Logical NOT                                                                                                                         |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [&&](/docs/server/reference/sql-structure/operators/logical-operators/and.md)                                                                               | Logical AND                                                                                                                         |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [XOR](/docs/server/reference/sql-structure/operators/logical-operators/xor.md)                                                                              | Logical XOR                                                                                                                         |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| \|                                                                                                                                                          | [Bitwise OR](/docs/server/reference/sql-functions/secondary-functions/bit-functions-and-operators/bitwise-or.md)                    |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [:=](/docs/server/reference/sql-structure/operators/assignment-operators/assignment-operator.md)                                                            | Assignment operator                                                                                                                 |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [=](/docs/server/reference/sql-structure/operators/assignment-operators/assignment-operators-assignment-operator.md)                                        | Assignment and comparison operator                                                                                                  |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| \~                                                                                                                                                          | [Bitwise NOT](/docs/server/reference/sql-functions/secondary-functions/bit-functions-and-operators/bitwise-not.md)                  |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [ABS](/docs/server/reference/sql-functions/numeric-functions/abs.md)                                                                                        | Returns an absolute value                                                                                                           |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [ACOS](/docs/server/reference/sql-functions/numeric-functions/acos.md)                                                                                      | Returns an arc cosine                                                                                                               |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [ADD\_MONTHS](/docs/server/reference/sql-functions/date-time-functions/add_months.md)                                                                       | Add months to a date                                                                                                                |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [ADDDATE](/docs/server/reference/sql-functions/date-time-functions/adddate.md)                                                                              | Add days or another interval to a date                                                                                              |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [ADDTIME](/docs/server/reference/sql-functions/date-time-functions/addtime.md)                                                                              | Adds a time to a time or datetime                                                                                                   |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [AES\_DECRYPT](/docs/server/reference/sql-functions/secondary-functions/encryption-hashing-and-compression-functions/aes_decrypt.md)                        | Decryption data encrypted with AES\_ENCRYPT                                                                                         |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [AES\_ENCRYPT](/docs/server/reference/sql-functions/secondary-functions/encryption-hashing-and-compression-functions/aes_encrypt.md)                        | Encrypts a string with the AES algorithm                                                                                            |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [AREA](/docs/server/reference/sql-statements/geometry-constructors/polygon-properties/st_area.md)                                                           | Synonym for ST\_AREA                                                                                                                |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [AsBinary](/docs/server/reference/sql-statements/geometry-constructors/wkb/st_asbinary.md)                                                                  | Synonym for ST\_AsBinary                                                                                                            |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [ASCII](/docs/server/reference/sql-functions/string-functions/ascii.md)                                                                                     | Numeric ASCII value of leftmost character                                                                                           |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [ASIN](/docs/server/reference/sql-functions/numeric-functions/asin.md)                                                                                      | Returns the arc sine                                                                                                                |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [AsText](/docs/server/reference/sql-statements/geometry-constructors/wkt/st_astext.md)                                                                      | Synonym for ST\_AsText                                                                                                              |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [AsWKB](/docs/server/reference/sql-statements/geometry-constructors/wkb/aswkb.md)                                                                           | Synonym for ST\_AsBinary                                                                                                            |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [AsWKT](/docs/server/reference/sql-statements/geometry-constructors/wkt/st_aswkt.md)                                                                        | Synonym for ST\_AsText                                                                                                              |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [ATAN](/docs/server/reference/sql-functions/numeric-functions/atan.md)                                                                                      | Returns the arc tangent                                                                                                             |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [ATAN2](/docs/server/reference/sql-functions/numeric-functions/atan2.md)                                                                                    | Returns the arc tangent of two variables                                                                                            |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [AVG](/docs/server/reference/sql-functions/aggregate-functions/avg.md)                                                                                      | Returns the average value                                                                                                           |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [BENCHMARK](/docs/server/reference/sql-functions/secondary-functions/information-functions/benchmark.md)                                                    | Executes an expression repeatedly                                                                                                   |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [BETWEEN AND](/docs/server/reference/sql-structure/operators/comparison-operators/between-and.md)                                                           | True if expression between two values                                                                                               |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [BIN](/docs/server/reference/sql-functions/string-functions/bin.md)                                                                                         | Returns binary value                                                                                                                |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [BINARY OPERATOR](/docs/server/reference/sql-functions/string-functions/binary-operator.md)                                                                 | Casts to a binary string                                                                                                            |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [BINLOG\_GTID\_POS](/docs/server/reference/sql-functions/secondary-functions/information-functions/binlog_gtid_pos.md)                                      | Returns a string representation of the corresponding GTID position                                                                  |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [BIT\_AND](/docs/server/reference/sql-functions/aggregate-functions/bit_and.md)                                                                             | Bitwise AND                                                                                                                         |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [BIT\_COUNT](/docs/server/reference/sql-functions/secondary-functions/bit-functions-and-operators/bit_count.md)                                             | Returns the number of set bits                                                                                                      |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [BIT\_LENGTH](/docs/server/reference/sql-functions/string-functions/bit_length.md)                                                                          | Returns the length of a string in bits                                                                                              |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [BIT\_OR](/docs/server/reference/sql-functions/aggregate-functions/bit_or.md)                                                                               | Bitwise OR                                                                                                                          |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [BIT\_XOR](/docs/server/reference/sql-functions/aggregate-functions/bit_xor.md)                                                                             | Bitwise XOR                                                                                                                         |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [BOUNDARY](/docs/server/reference/sql-statements/geometry-constructors/geometry-properties/st_boundary.md)                                                  | Synonym for ST\_BOUNDARY                                                                                                            |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [BUFFER](/docs/server/reference/sql-statements/geometry-constructors/geometry-constructors/buffer.md)                                                       | Synonym for ST\_BUFFER                                                                                                              |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [CASE](/docs/server/reference/sql-functions/control-flow-functions/case-operator.md)                                                                        | Returns the result where value=compare\_value or for the first condition that is true                                               |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [CAST](/docs/server/reference/sql-functions/string-functions/cast.md)                                                                                       | Casts a value of one type to another type                                                                                           |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [CEIL](/docs/server/reference/sql-functions/numeric-functions/ceil.md)                                                                                      | Synonym for CEILING()                                                                                                               |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [CEILING](/docs/server/reference/sql-functions/numeric-functions/ceiling.md)                                                                                | Returns the smallest integer not less than X                                                                                        |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [CENTROID](/docs/server/reference/sql-statements/geometry-constructors/polygon-properties/centroid.md)                                                      | Synonym for ST\_CENTROID                                                                                                            |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [CHAR Function](/docs/server/reference/sql-functions/string-functions/char-function.md)                                                                     | Returns string based on the integer values for the individual characters                                                            |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [CHARACTER\_LENGTH](/docs/server/reference/sql-functions/string-functions/character_length.md)                                                              | Synonym for CHAR\_LENGTH()                                                                                                          |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [CHAR\_LENGTH](/docs/server/reference/sql-functions/string-functions/char_length.md)                                                                        | Length of the string in characters                                                                                                  |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [CHARSET](/docs/server/reference/sql-functions/secondary-functions/information-functions/charset.md)                                                        | Returns the character set                                                                                                           |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [CHR](/docs/server/reference/sql-functions/string-functions/chr.md)                                                                                         | Returns a string consisting of the character given by the code values of the integer                                                |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [COALESCE](/docs/server/reference/sql-structure/operators/comparison-operators/coalesce.md)                                                                 | Returns the first non-NULL parameter                                                                                                |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [COERCIBILITY](/docs/server/reference/sql-functions/secondary-functions/information-functions/coercibility.md)                                              | Returns the collation coercibility value                                                                                            |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [COLLATION](/docs/server/reference/sql-functions/secondary-functions/information-functions/collation.md)                                                    | Collation of the string argument                                                                                                    |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [COLUMN\_ADD](/docs/server/reference/sql-functions/special-functions/dynamic-columns-functions/column_add.md)                                               | Adds or updates dynamic columns                                                                                                     |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [COLUMN\_CHECK](/docs/server/reference/sql-functions/special-functions/dynamic-columns-functions/column_check.md)                                           | Checks if a dynamic column blob is valid                                                                                            |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [COLUMN\_CREATE](/docs/server/reference/sql-functions/special-functions/dynamic-columns-functions/column_create.md)                                         | Returns a dynamic columns blob                                                                                                      |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [COLUMN\_DELETE](/docs/server/reference/sql-functions/special-functions/dynamic-columns-functions/column_delete.md)                                         | Deletes a dynamic column                                                                                                            |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [COLUMN\_EXISTS](/docs/server/reference/sql-functions/special-functions/dynamic-columns-functions/column_exists.md)                                         | Checks is a column exists                                                                                                           |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [COLUMN\_GET](/docs/server/reference/sql-functions/special-functions/dynamic-columns-functions/column_get.md)                                               | Gets a dynamic column value by name                                                                                                 |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [COLUMN\_JSON](/docs/server/reference/sql-functions/special-functions/dynamic-columns-functions/column_json.md)                                             | Returns a JSON representation of dynamic column blob data                                                                           |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [COLUMN\_LIST](/docs/server/reference/sql-functions/special-functions/dynamic-columns-functions/column_list.md)                                             | Returns comma-separated list                                                                                                        |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [COMPRESS](/docs/server/reference/sql-functions/secondary-functions/encryption-hashing-and-compression-functions/compress.md)                               | Returns a binary, compressed string                                                                                                 |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [CONCAT](/docs/server/reference/sql-functions/string-functions/concat.md)                                                                                   | Returns concatenated string                                                                                                         |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [CONCAT\_WS](/docs/server/reference/sql-functions/string-functions/concat_ws.md)                                                                            | Concatenate with separator                                                                                                          |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [CONNECTION\_ID](/docs/server/reference/sql-functions/secondary-functions/information-functions/connection_id.md)                                           | Connection thread ID                                                                                                                |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [CONTAINS](/docs/server/reference/sql-statements/geometry-constructors/geometry-relations/contains.md)                                                      | Whether one geometry contains another                                                                                               |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [CONVERT](/docs/server/reference/sql-functions/string-functions/convert.md)                                                                                 | Convert a value from one type to another type                                                                                       |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [CONV](/docs/server/reference/sql-functions/numeric-functions/conv.md)                                                                                      | Converts numbers between different number bases                                                                                     |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [CONVERT\_TZ](/docs/server/reference/sql-functions/date-time-functions/convert_tz.md)                                                                       | Converts a datetime from on time zone to another                                                                                    |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [CONVEXHULL](/docs/server/reference/sql-statements/geometry-constructors/geometry-constructors/convexhull.md)                                               | Synonym for ST\_CONVEXHULL                                                                                                          |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [COS](/docs/server/reference/sql-functions/numeric-functions/cos.md)                                                                                        | Returns the cosine                                                                                                                  |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [COT](/docs/server/reference/sql-functions/numeric-functions/cot.md)                                                                                        | Returns the cotangent                                                                                                               |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [COUNT](/docs/server/reference/sql-functions/aggregate-functions/count.md)                                                                                  | Returns count of non-null values                                                                                                    |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [COUNT DISTINCT](/docs/server/reference/sql-functions/aggregate-functions/count-distinct.md)                                                                | Returns count of number of different non-NULL values                                                                                |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [CRC32](/docs/server/reference/sql-functions/numeric-functions/crc32.md)                                                                                    | Computes a cyclic redundancy check value                                                                                            |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [CRC32C](/docs/server/reference/sql-functions/numeric-functions/crc32c.md)                                                                                  | Computes a cyclic redundancy check value                                                                                            | [MariaDB 10.8](/docs/release-notes/community-server/old-releases/10.8/what-is-mariadb-108.md)                                                                                                                                                                                                                                                                                                                                         |
| [CROSSES](/docs/server/reference/sql-statements/geometry-constructors/geometry-relations/crosses.md)                                                        | Whether two geometries spatially cross                                                                                              |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [CUME\_DIST](/docs/server/reference/sql-functions/special-functions/window-functions/cume_dist.md)                                                          | Window function that returns the cumulative distribution of a given row                                                             |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [CURDATE](/docs/server/reference/sql-functions/date-time-functions/curdate.md)                                                                              | Returns the current date                                                                                                            |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [CURRENT\_DATE](/docs/server/reference/sql-functions/date-time-functions/current_date.md)                                                                   | Synonym for CURDATE()                                                                                                               |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [CURRENT\_ROLE](/docs/server/reference/sql-functions/secondary-functions/information-functions/current_role.md)                                             | Current role name                                                                                                                   |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [CURRENT\_TIME](/docs/server/reference/sql-functions/date-time-functions/current_time.md)                                                                   | Synonym for CURTIME()                                                                                                               |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [CURRENT\_TIMESTAMP](/docs/server/reference/sql-functions/date-time-functions/current_timestamp.md)                                                         | Synonym for NOW()                                                                                                                   |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [CURRENT\_USER](/docs/server/reference/sql-functions/secondary-functions/information-functions/current_user.md)                                             | Username/host that authenicated the current client                                                                                  |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [CURTIME](/docs/server/reference/sql-functions/date-time-functions/curtime.md)                                                                              | Returns the current time                                                                                                            |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [DATABASE](/docs/server/reference/sql-functions/secondary-functions/information-functions/database.md)                                                      | Current default database                                                                                                            |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [DATE FUNCTION](/docs/server/reference/sql-functions/date-time-functions/date-function.md)                                                                  | Extracts the date portion of a datetime                                                                                             |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [DATEDIFF](/docs/server/reference/sql-functions/date-time-functions/datediff.md)                                                                            | Difference in days between two date/time values                                                                                     |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [DATE\_ADD](/docs/server/reference/sql-functions/date-time-functions/date_add.md)                                                                           | Date arithmetic - addition                                                                                                          |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [DATE\_FORMAT](/docs/server/reference/sql-functions/date-time-functions/date_format.md)                                                                     | Formats the date value according to the format string                                                                               |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [DATE\_SUB](/docs/server/reference/sql-functions/date-time-functions/date_sub.md)                                                                           | Date arithmetic - subtraction                                                                                                       |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [DAY](/docs/server/reference/sql-functions/date-time-functions/day.md)                                                                                      | Synonym for DAYOFMONTH()                                                                                                            |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [DAYNAME](/docs/server/reference/sql-functions/date-time-functions/dayname.md)                                                                              | Return the name of the weekday                                                                                                      |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [DAYOFMONTH](/docs/server/reference/sql-functions/date-time-functions/dayofmonth.md)                                                                        | Returns the day of the month                                                                                                        |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [DAYOFWEEK](/docs/server/reference/sql-functions/date-time-functions/dayofweek.md)                                                                          | Returns the day of the week index                                                                                                   |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [DAYOFYEAR](/docs/server/reference/sql-functions/date-time-functions/dayofyear.md)                                                                          | Returns the day of the year                                                                                                         |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [DECODE](/docs/server/reference/sql-functions/secondary-functions/encryption-hashing-and-compression-functions/decode.md)                                   | Decrypts a string encoded with ENCODE()                                                                                             |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [DECODE\_HISTOGRAM](/docs/server/reference/sql-functions/secondary-functions/information-functions/decode_histogram.md)                                     | Returns comma separated numerics corresponding to a probability distribution represented by a histogram                             |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [DEFAULT](/docs/server/reference/sql-functions/secondary-functions/information-functions/default.md)                                                        | Returns column default                                                                                                              |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [DEGREES](/docs/server/reference/sql-functions/numeric-functions/degrees.md)                                                                                | Converts from radians to degrees                                                                                                    |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [DENSE\_RANK](/docs/server/reference/sql-functions/special-functions/window-functions/dense_rank.md)                                                        | Rank of a given row with identical values receiving the same result, no skipping                                                    |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [DES\_DECRYPT](/docs/server/reference/sql-functions/secondary-functions/encryption-hashing-and-compression-functions/des_decrypt.md)                        | Decrypts a string encrypted with DES\_ENCRYPT()                                                                                     |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [DES\_ENCRYPT](/docs/server/reference/sql-functions/secondary-functions/encryption-hashing-and-compression-functions/des_encrypt.md)                        | Encrypts a string using the Triple-DES algorithm                                                                                    |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [DIMENSION](/docs/server/reference/sql-statements/geometry-constructors/geometry-properties/dimension.md)                                                   | Synonym for ST\_DIMENSION                                                                                                           |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [DISJOINT](/docs/server/reference/sql-statements/geometry-constructors/geometry-relations/disjoint.md)                                                      | Whether the two elements do not intersect                                                                                           |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [DIV](/docs/server/reference/sql-functions/numeric-functions/div.md)                                                                                        | Integer division                                                                                                                    |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [ELT](/docs/server/reference/sql-functions/string-functions/elt.md)                                                                                         | Returns the N'th element from a set of strings                                                                                      |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [ENCODE](/docs/server/reference/sql-functions/secondary-functions/encryption-hashing-and-compression-functions/encode.md)                                   | Encrypts a string                                                                                                                   |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [ENCRYPT](/docs/server/reference/sql-functions/secondary-functions/encryption-hashing-and-compression-functions/encrypt.md)                                 | Encrypts a string with Unix crypt()                                                                                                 |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [ENDPOINT](/docs/server/reference/sql-statements/geometry-constructors/linestring-properties/st_endpoint.md)                                                | Synonym for ST\_ENDPOINT                                                                                                            |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [ENVELOPE](/docs/server/reference/sql-statements/geometry-constructors/geometry-properties/st_envelope.md)                                                  | Synonym for ST\_ENVELOPE                                                                                                            |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [EQUALS](/docs/server/reference/sql-statements/geometry-constructors/geometry-relations/equals.md)                                                          | Indicates whether two geometries are spatially equal                                                                                |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [EXP](/docs/server/reference/sql-functions/numeric-functions/exp.md)                                                                                        | e raised to the power of the argument                                                                                               |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [EXPORT\_SET](/docs/server/reference/sql-functions/string-functions/export_set.md)                                                                          | Returns an on string for every bit set, an off string for every bit not set                                                         |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [ExteriorRing](/docs/server/reference/sql-statements/geometry-constructors/polygon-properties/st_exteriorring.md)                                           | Synonym for ST\_ExteriorRing                                                                                                        |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [EXTRACT](/docs/server/reference/sql-functions/date-time-functions/extract.md)                                                                              | Extracts a portion of the date                                                                                                      |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [EXTRACTVALUE](/docs/server/reference/sql-functions/string-functions/extractvalue.md)                                                                       | Returns the text of the first text node matched by the XPath expression                                                             |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [FIELD](/docs/server/reference/sql-functions/string-functions/field.md)                                                                                     | Returns the index position of a string in a list                                                                                    |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [FIND\_IN\_SET](/docs/server/reference/sql-functions/string-functions/find_in_set.md)                                                                       | Returns the position of a string in a set of strings                                                                                |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [FLOOR](/docs/server/reference/sql-functions/numeric-functions/floor.md)                                                                                    | Largest integer value not greater than the argument                                                                                 |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [FORMAT](/docs/server/reference/sql-functions/string-functions/format.md)                                                                                   | Formats a number                                                                                                                    |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [FORMAT\_BYTES](/docs/server/reference/sql-functions/secondary-functions/miscellaneous-functions/miscellaneous-functions-format_bytes.md)                   | Given a byte count, returns a string consisting of a value and the units in a human-readable format.                                | [MariaDB 11.8](/docs/release-notes/community-server/11.8/what-is-mariadb-118.md)                                                                                                                                                                                                                                                                                                                                                      |
| [FORMAT\_PICO\_TIME](/docs/server/reference/sql-functions/date-time-functions/format_pico_time.md)                                                          | Given a time in picoseconds, returns a human-readable time value and unit indicator                                                 | [MariaDB 11.0.2](/docs/release-notes/community-server/old-releases/11.0/11.0.2.md)                                                                                                                                                                                                                                                                                                                                                    |
| [FOUND\_ROWS](/docs/server/reference/sql-functions/secondary-functions/information-functions/found_rows.md)                                                 | Number of (potentially) returned rows                                                                                               |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [FROM\_BASE64](/docs/server/reference/sql-functions/string-functions/from_base64.md)                                                                        | Given a base-64 encoded string, returns the decoded result as a binary string                                                       |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [FROM\_DAYS](/docs/server/reference/sql-functions/date-time-functions/from_days.md)                                                                         | Returns a date given a day                                                                                                          |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [FROM\_UNIXTIME](/docs/server/reference/sql-functions/date-time-functions/from_unixtime.md)                                                                 | Returns a datetime from a Unix timestamp                                                                                            |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [GeomCollFromText](/docs/server/reference/sql-statements/geometry-constructors/wkt/st_geomcollfromtext.md)                                                  | Synonym for ST\_GeomCollFromText                                                                                                    |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [GeomCollFromWKB](/docs/server/reference/sql-statements/geometry-constructors/wkb/st_geomcollfromwkb.md)                                                    | Synonym for ST\_GeomCollFromWKB                                                                                                     |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [GEOMETRYCOLLECTION](/docs/server/reference/sql-statements/geometry-constructors/geometry-constructors/geometrycollection.md)                               | Constructs a WKB GeometryCollection                                                                                                 |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [GeometryCollectionFromText](/docs/server/reference/sql-statements/geometry-constructors/wkt/geometrycollectionfromtext.md)                                 | Synonym for ST\_GeomCollFromText                                                                                                    |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [GeometryCollectionFromWKB](/docs/server/reference/sql-statements/geometry-constructors/wkb/geometrycollectionfromwkb.md)                                   | Synonym for ST\_GeomCollFromWKB                                                                                                     |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [GeometryFromText](/docs/server/reference/sql-statements/geometry-constructors/wkt/geometryfromtext.md)                                                     | Synonym for ST\_GeomFromText                                                                                                        |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [GeometryFromWKB](/docs/server/reference/sql-statements/geometry-constructors/wkb/geometryfromwkb.md)                                                       | Synonym for ST\_GeomFromWKB                                                                                                         |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [GeomFromText](/docs/server/reference/sql-statements/geometry-constructors/wkt/st_geomfromtext.md)                                                          | Synonym for ST\_GeomFromText                                                                                                        |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [GeomFromWKB](/docs/server/reference/sql-statements/geometry-constructors/wkb/st_geomfromwkb.md)                                                            | Synonym for ST\_GeomFromWKB                                                                                                         |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [GeometryN](/docs/server/reference/sql-statements/geometry-constructors/geometry-properties/st_geometryn.md)                                                | Synonym for ST\_GeometryN                                                                                                           |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [GeometryType](/docs/server/reference/sql-statements/geometry-constructors/geometry-properties/st_geometrytype.md)                                          | Synonym for ST\_GeometryType                                                                                                        |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [GET\_FORMAT](/docs/server/reference/sql-functions/date-time-functions/get_format.md)                                                                       | Returns a format string                                                                                                             |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [GET\_LOCK](/docs/server/reference/sql-functions/secondary-functions/miscellaneous-functions/get_lock.md)                                                   | Obtain LOCK                                                                                                                         |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [GLENGTH](/docs/server/reference/sql-statements/geometry-constructors/linestring-properties/glength.md)                                                     | Length of a LineString value                                                                                                        |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [GREATEST](/docs/server/reference/sql-structure/operators/comparison-operators/greatest.md)                                                                 | Returns the largest argument                                                                                                        |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [GROUP\_CONCAT](/docs/server/reference/sql-functions/aggregate-functions/group_concat.md)                                                                   | Returns string with concatenated values from a group                                                                                |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [HEX](/docs/server/reference/sql-functions/string-functions/hex.md)                                                                                         | Returns hexadecimal value                                                                                                           |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [HOUR](/docs/server/reference/sql-functions/date-time-functions/hour.md)                                                                                    | Returns the hour                                                                                                                    |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [IF](/docs/server/reference/sql-functions/control-flow-functions/if-function.md)                                                                            | If expr1 is TRUE, returns expr2; otherwise returns expr3                                                                            |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [IFNULL](/docs/server/reference/sql-functions/control-flow-functions/ifnull.md)                                                                             | Check whether an expression is NULL                                                                                                 |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [IN](/docs/server/reference/sql-structure/operators/comparison-operators/in.md)                                                                             | True if expression equals any of the values in the list                                                                             |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [INTERVAL](/docs/server/reference/sql-structure/operators/comparison-operators/interval.md)                                                                 | Index of the argument that is less than the first argument                                                                          |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [INET6\_ATON](/docs/server/reference/sql-functions/secondary-functions/miscellaneous-functions/inet6_aton.md)                                               | Given an IPv6 or IPv4 network address, returns a VARBINARY numeric value                                                            |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [INET6\_NTOA](/docs/server/reference/sql-functions/secondary-functions/miscellaneous-functions/inet6_ntoa.md)                                               | Given an IPv6 or IPv4 network address, returns the address as a nonbinary string                                                    |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [INET\_ATON](/docs/server/reference/sql-functions/secondary-functions/miscellaneous-functions/inet_aton.md)                                                 | Returns numeric value of IPv4 address                                                                                               |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [INET\_NTOA](/docs/server/reference/sql-functions/secondary-functions/miscellaneous-functions/inet_ntoa.md)                                                 | Returns dotted-quad representation of IPv4 address                                                                                  |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [INSERT Function](/docs/server/reference/sql-functions/string-functions/insert-function.md)                                                                 | Replaces a part of a string with another string                                                                                     |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [INSTR](/docs/server/reference/sql-functions/string-functions/instr.md)                                                                                     | Returns the position of a string withing a string                                                                                   |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [InteriorRingN](/docs/server/reference/sql-statements/geometry-constructors/polygon-properties/st_interiorringn.md)                                         | Synonym for ST\_InteriorRingN                                                                                                       |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [INTERSECTS](/docs/server/reference/sql-statements/geometry-constructors/geometry-relations/intersects.md)                                                  | Indicates whether two geometries spatially intersect                                                                                |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [IS](/docs/server/reference/sql-structure/operators/comparison-operators/is.md)                                                                             | Tests whether a boolean is TRUE, FALSE, or UNKNOWN                                                                                  |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [IsClosed](/docs/server/reference/sql-statements/geometry-constructors/geometry-properties/isclosed.md)                                                     | Synonym for ST\_IsClosed                                                                                                            |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [IsEmpty](/docs/server/reference/sql-statements/geometry-constructors/geometry-properties/st_isempty.md)                                                    | Synonym for ST\_IsEmpty                                                                                                             |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [IS\_FREE\_LOCK](/docs/server/reference/sql-functions/secondary-functions/miscellaneous-functions/is_free_lock.md)                                          | Checks whether lock is free to use                                                                                                  |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [IS\_IPV4](/docs/server/reference/sql-functions/secondary-functions/miscellaneous-functions/is_ipv4.md)                                                     | Whether or not an expression is a valid IPv4 address                                                                                |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [IS\_IPV4\_COMPAT](/docs/server/reference/sql-functions/secondary-functions/miscellaneous-functions/is_ipv4_compat.md)                                      | Whether or not an IPv6 address is IPv4-compatible                                                                                   |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [IS\_IPV4\_MAPPED](/docs/server/reference/sql-functions/secondary-functions/miscellaneous-functions/is_ipv4_mapped.md)                                      | Whether an IPv6 address is a valid IPv4-mapped address                                                                              |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [IS\_IPV6](/docs/server/reference/sql-functions/secondary-functions/miscellaneous-functions/is_ipv6.md)                                                     | Whether or not an expression is a valid IPv6 address                                                                                |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [IS NOT](/docs/server/reference/sql-structure/operators/comparison-operators/is-not.md)                                                                     | Tests whether a boolean value is not TRUE, FALSE, or UNKNOWN                                                                        |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [IS NOT NULL](/docs/server/reference/sql-structure/operators/comparison-operators/is-not-null.md)                                                           | Tests whether a value is not NULL                                                                                                   |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [IS NULL](/docs/server/reference/sql-structure/operators/comparison-operators/is-null.md)                                                                   | Tests whether a value is NULL                                                                                                       |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [ISNULL](/docs/server/reference/sql-structure/operators/comparison-operators/isnull.md)                                                                     | Checks if an expression is NULL                                                                                                     |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [IsRing](/docs/server/reference/sql-statements/geometry-constructors/geometry-properties/isring.md)                                                         | Synonym for ST\_IsRing                                                                                                              |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [IsSimple](/docs/server/reference/sql-statements/geometry-constructors/geometry-properties/geometry-properties-issimple.md)                                 | Synonym for ST\_IsSimple                                                                                                            |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [IS\_USED\_LOCK](/docs/server/reference/sql-functions/secondary-functions/miscellaneous-functions/is_used_lock.md)                                          | Check if lock is in use                                                                                                             |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [JSON\_ARRAY](/docs/server/reference/sql-functions/special-functions/json-functions/json_array.md)                                                          | Returns a JSON array containing the listed values                                                                                   |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [JSON\_ARRAYAGG](/docs/server/reference/sql-functions/aggregate-functions/json_arrayagg.md)                                                                 | Returns a JSON array containing an element for each value in a given set of JSON or SQL values.                                     |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [JSON\_ARRAY\_INTERSECT](/docs/server/reference/sql-functions/special-functions/json-functions/json_array_intersect.md)                                     |                                                                                                                                     | [MariaDB 11.2.0](/docs/release-notes/community-server/old-releases/11.2/11.2.0.md)                                                                                                                                                                                                                                                                                                                                                    |
| [JSON\_ARRAY\_APPEND](/docs/server/reference/sql-functions/special-functions/json-functions/json_array_append.md)                                           | Appends values to the end of the given arrays within a JSON document                                                                |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [JSON\_ARRAY\_INSERT](/docs/server/reference/sql-functions/special-functions/json-functions/json_array_insert.md)                                           | Inserts a value into a JSON document                                                                                                |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [JSON\_COMPACT](/docs/server/reference/sql-functions/special-functions/json-functions/json_compact.md)                                                      | Removes all unnecessary spaces so the json document is as short as possible                                                         |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [JSON\_CONTAINS](/docs/server/reference/sql-functions/special-functions/json-functions/json_contains.md)                                                    | Whether a value is found in a given JSON document or at a specified path within the document                                        |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [JSON\_CONTAINS\_PATH](/docs/server/reference/sql-functions/special-functions/json-functions/json_contains_path.md)                                         | Indicates whether the given JSON document contains data at the specified path or paths                                              |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [JSON\_DEPTH](/docs/server/reference/sql-functions/special-functions/json-functions/json_depth.md)                                                          | Maximum depth of a JSON document                                                                                                    |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [JSON\_DETAILED](/docs/server/reference/sql-functions/special-functions/json-functions/json_detailed.md)                                                    | Represents JSON in the most understandable way emphasizing nested structures                                                        |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [JSON\_EQUALS](/docs/server/reference/sql-functions/special-functions/json-functions/json_equals.md)                                                        | Check for equality between JSON objects.                                                                                            | [MariaDB 10.7](/docs/release-notes/community-server/old-releases/10.7/what-is-mariadb-107.md)                                                                                                                                                                                                                                                                                                                                         |
| [JSON\_EXISTS](/docs/server/reference/sql-functions/special-functions/json-functions/json_exists.md)                                                        | Determines whether a specified JSON value exists in the given data                                                                  |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [JSON\_EXTRACT](/docs/server/reference/sql-functions/special-functions/json-functions/json_extract.md)                                                      | Extracts data from a JSON document.                                                                                                 |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [JSON\_INSERT](/docs/server/reference/sql-functions/special-functions/json-functions/json_insert.md)                                                        | Inserts data into a JSON document                                                                                                   |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [JSON\_KEY\_VALUE](/docs/server/reference/sql-functions/special-functions/json-functions/json_key_value.md)                                                 | Extracts key/value pairs from a JSON object                                                                                         | [MariaDB 11.2](/docs/release-notes/community-server/old-releases/11.2/what-is-mariadb-112.md)                                                                                                                                                                                                                                                                                                                                         |
| [JSON\_KEYS](/docs/server/reference/sql-functions/special-functions/json-functions/json_keys.md)                                                            | Returns keys from top-level value of a JSON object or top-level keys from the path                                                  |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [JSON\_LENGTH](/docs/server/reference/sql-functions/special-functions/json-functions/json_length.md)                                                        | Returns the length of a JSON document, or the length of a value within the document                                                 |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [JSON\_LOOSE](/docs/server/reference/sql-functions/special-functions/json-functions/json_loose.md)                                                          | Adds spaces to a JSON document to make it look more readable                                                                        |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [JSON\_MERGE](/docs/server/reference/sql-functions/special-functions/json-functions/json_merge.md)                                                          | Merges the given JSON documents                                                                                                     |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [JSON\_MERGE\_PATCH](/docs/server/reference/sql-functions/special-functions/json-functions/json_merge.md)                                                   | RFC 7396-compliant merge of the given JSON documents                                                                                |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [JSON\_MERGE\_PRESERVE](/docs/server/reference/sql-functions/special-functions/json-functions/json_merge.md)                                                | Synonym for [JSON\_MERGE\_PATCH](/docs/server/reference/sql-functions/special-functions/json-functions/json_merge.md).              |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [JSON\_NORMALIZE](/docs/server/reference/sql-functions/special-functions/json-functions/json_normalize.md)                                                  | Recursively sorts keys and removes spaces, allowing comparison of json documents for equality                                       |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [JSON\_OBJECT](/docs/server/reference/sql-functions/special-functions/json-functions/json_object.md)                                                        | Returns a JSON object containing the given key/value pairs                                                                          |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [JSON\_OBJECT\_FILTER\_KEYS](/docs/server/reference/sql-functions/special-functions/json-functions/json_object_filter_keys.md)                              |                                                                                                                                     | [MariaDB 11.2.0](/docs/release-notes/community-server/old-releases/11.2/11.2.0.md)                                                                                                                                                                                                                                                                                                                                                    |
| [JSON\_OBJECT\_TO\_ARRAY](/docs/server/reference/sql-functions/special-functions/json-functions/json_object_to_array.md)                                    |                                                                                                                                     | [MariaDB 11.2.0](/docs/release-notes/community-server/old-releases/11.2/11.2.0.md)                                                                                                                                                                                                                                                                                                                                                    |
| [JSON\_OBJECTAGG](/docs/server/reference/sql-functions/aggregate-functions/json_objectagg.md)                                                               | Returns a JSON object containing key-value pairs                                                                                    |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [JSON\_OVERLAPS](/docs/server/reference/sql-functions/special-functions/json-functions/json_overlaps.md)                                                    | Compares two json documents for overlaps                                                                                            | [MariaDB 10.9](/docs/release-notes/community-server/old-releases/10.9/what-is-mariadb-109.md)                                                                                                                                                                                                                                                                                                                                         |
| [JSON\_PRETTY](/docs/server/reference/sql-functions/special-functions/json-functions/json_pretty.md)                                                        | Alias for [json\_detailed](/docs/server/reference/sql-functions/special-functions/json-functions/json_detailed.md)                  | [MariaDB 10.10.3](/docs/release-notes/community-server/old-releases/10.10/10.10.3.md), [MariaDB 10.9.5](/docs/release-notes/community-server/old-releases/10.9/10.9.5.md), [MariaDB 10.8.7](/docs/release-notes/community-server/old-releases/10.8/10.8.7.md), [MariaDB 10.7.8](/docs/release-notes/community-server/old-releases/10.7/10.7.8.md), [MariaDB 10.6.12](/docs/release-notes/community-server/changelogs/10.6/10.6.12.md) |
| [JSON\_QUERY](/docs/server/reference/sql-functions/special-functions/json-functions/json_query.md)                                                          | Given a JSON document, returns an object or array specified by the path                                                             |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [JSON\_QUOTE](/docs/server/reference/sql-functions/special-functions/json-functions/json_quote.md)                                                          | Quotes a string as a JSON value                                                                                                     |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [JSON\_REMOVE](/docs/server/reference/sql-functions/special-functions/json-functions/json_remove.md)                                                        | Removes data from a JSON document                                                                                                   |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [JSON\_REPLACE](/docs/server/reference/sql-functions/special-functions/json-functions/json_replace.md)                                                      | Replaces existing values in a JSON document                                                                                         |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [JSON\_SCHEMA\_VALID](/docs/server/reference/sql-functions/special-functions/json-functions/json_schema_valid.md)                                           | Validates a JSON schema                                                                                                             | [MariaDB 11.1.0](/docs/release-notes/community-server/old-releases/11.1/11.1.0.md)                                                                                                                                                                                                                                                                                                                                                    |
| [JSON\_SEARCH](/docs/server/reference/sql-functions/special-functions/json-functions/json_search.md)                                                        | Returns the path to the given string within a JSON document                                                                         |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [JSON\_SET](/docs/server/reference/sql-functions/special-functions/json-functions/json_set.md)                                                              | Updates or inserts data into a JSON document                                                                                        |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [JSON\_TABLE](/docs/server/reference/sql-functions/special-functions/json-functions/json_table.md)                                                          | Returns a representation of a JSON document as a relational table                                                                   | [MariaDB 10.6](/docs/release-notes/community-server/10.6/what-is-mariadb-106.md)                                                                                                                                                                                                                                                                                                                                                      |
| [JSON\_TYPE](/docs/server/reference/sql-functions/special-functions/json-functions/json_type.md)                                                            | Returns the type of a JSON value                                                                                                    |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [JSON\_UNQUOTE](/docs/server/reference/sql-functions/special-functions/json-functions/json_unquote.md)                                                      | Unquotes a JSON value, returning a string                                                                                           |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [JSON\_VALID](/docs/server/reference/sql-functions/special-functions/json-functions/json_valid.md)                                                          | Whether a value is a valid JSON document or not                                                                                     |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [JSON\_VALUE](/docs/server/reference/sql-functions/special-functions/json-functions/json_value.md)                                                          | Given a JSON document, returns the specified scalar                                                                                 |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [KDF](/docs/server/reference/sql-functions/secondary-functions/encryption-hashing-and-compression-functions/kdf.md)                                         | Key derivation function                                                                                                             | [MariaDB 11.3.0](/docs/release-notes/community-server/old-releases/11.3/11.3.0.md)                                                                                                                                                                                                                                                                                                                                                    |
| [LAST\_DAY](/docs/server/reference/sql-functions/date-time-functions/last_day.md)                                                                           | Returns the last day of the month                                                                                                   |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [LAST\_INSERT\_ID](/docs/server/reference/sql-functions/secondary-functions/information-functions/last_insert_id.md)                                        | Last inserted autoinc value                                                                                                         |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [LAST\_VALUE](/docs/server/reference/sql-functions/secondary-functions/information-functions/last_value.md)                                                 | Returns the last value in a list                                                                                                    |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [LASTVAL](/docs/server/reference/sql-structure/sequences/sequence-functions/previous-value-for-sequence_name.md)                                            | Get last value generated from a sequence                                                                                            |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [LCASE](/docs/server/reference/sql-functions/string-functions/lcase.md)                                                                                     | Synonym for \[LOWER()                                                                                                               |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [LEAST](/docs/server/reference/sql-structure/operators/comparison-operators/least.md)                                                                       | Returns the smallest argument                                                                                                       |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [LEFT](/docs/server/reference/sql-functions/string-functions/left.md)                                                                                       | Returns the leftmost characters from a string                                                                                       |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [LENGTH](/docs/server/reference/sql-functions/string-functions/length.md)                                                                                   | Length of the string in bytes                                                                                                       |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [LIKE](/docs/server/reference/sql-functions/string-functions/like.md)                                                                                       | Whether expression matches a pattern                                                                                                |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [LineFromText](/docs/server/reference/sql-statements/geometry-constructors/wkt/st_linefromtext.md)                                                          | Synonym for ST\_LineFromText                                                                                                        |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [LineFromWKB](/docs/server/reference/sql-statements/geometry-constructors/wkb/st_linefromwkb.md)                                                            | Synonym for ST\_LineFromWKB                                                                                                         |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [LINESTRING](/docs/server/reference/sql-statements/geometry-constructors/geometry-constructors/linestring.md)                                               | Constructs a WKB LineString value from a number of WKB Point arguments                                                              |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [LineStringFromText](/docs/server/reference/sql-statements/geometry-constructors/wkt/linestringfromtext.md)                                                 | Synonym for ST\_LineFromText                                                                                                        |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [LineStringFromWKB](/docs/server/reference/sql-statements/geometry-constructors/wkb/linestringfromwkb.md)                                                   | Synonym for ST\_LineFromWKB                                                                                                         |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [LN](/docs/server/reference/sql-functions/numeric-functions/ln.md)                                                                                          | Returns natural logarithm                                                                                                           |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [LOAD\_FILE](/docs/server/reference/sql-functions/string-functions/load_file.md)                                                                            | Returns file contents as a string                                                                                                   |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [LOCALTIME](/docs/server/reference/sql-functions/date-time-functions/localtime.md)                                                                          | Synonym for NOW()                                                                                                                   |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [LOCALTIMESTAMP](/docs/server/reference/sql-functions/date-time-functions/localtimestamp.md)                                                                | Synonym for NOW()                                                                                                                   |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [LOCATE](/docs/server/reference/sql-functions/string-functions/locate.md)                                                                                   | Returns the position of a substring in a string                                                                                     |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [LOG](/docs/server/reference/sql-functions/numeric-functions/log.md)                                                                                        | Returns the natural logarithm                                                                                                       |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [LOG10](/docs/server/reference/sql-functions/numeric-functions/log10.md)                                                                                    | Returns the base-10 logarithm                                                                                                       |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [LOG2](/docs/server/reference/sql-functions/numeric-functions/log2.md)                                                                                      | Returns the base-2 logarithm                                                                                                        |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [LOWER](/docs/server/reference/sql-functions/string-functions/lower.md)                                                                                     | Returns a string with all characters changed to lowercase                                                                           |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [LPAD](/docs/server/reference/sql-functions/string-functions/lpad.md)                                                                                       | Returns the string left-padded with another string to a given length                                                                |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [LTRIM](/docs/server/reference/sql-functions/string-functions/ltrim.md)                                                                                     | Returns the string with leading space characters removed                                                                            |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [MAKE\_SET](/docs/server/reference/sql-functions/string-functions/make_set.md)                                                                              | Make a set of strings that matches a bitmask                                                                                        |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [MAKEDATE](/docs/server/reference/sql-functions/date-time-functions/makedate.md)                                                                            | Returns a date given a year and day                                                                                                 |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [MAKETIME](/docs/server/reference/sql-functions/date-time-functions/maketime.md)                                                                            | Returns a time                                                                                                                      |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [MASTER\_GTID\_WAIT](/docs/server/reference/sql-functions/secondary-functions/miscellaneous-functions/master_gtid_wait.md)                                  | Wait until slave reaches the GTID position                                                                                          |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [MASTER\_POS\_WAIT](/docs/server/reference/sql-functions/secondary-functions/miscellaneous-functions/master_pos_wait.md)                                    | Blocks until the slave has applied all specified updates                                                                            |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [MATCH AGAINST](/docs/server/reference/sql-functions/string-functions/match-against.md)                                                                     | Perform a fulltext search on a fulltext index                                                                                       |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [MAX](/docs/server/reference/sql-functions/aggregate-functions/max.md)                                                                                      | Returns the maximum value                                                                                                           |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [MBRContains](/docs/server/reference/sql-statements/geometry-constructors/mbr-minimum-bounding-rectangle/mbrcontains.md)                                    | Whether one Minimum Bounding Rectangle contains another.                                                                            |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [MBRCoveredBy](/docs/server/reference/sql-statements/geometry-constructors/mbr-minimum-bounding-rectangle/mbrcoveredby.md)                                  | Whether one Minimum Bounding Rectangle is covered by another.                                                                       | [MariaDB 11.8](/docs/release-notes/community-server/11.8/what-is-mariadb-118.md)                                                                                                                                                                                                                                                                                                                                                      |
| [MBRDisjoint](/docs/server/reference/sql-statements/geometry-constructors/mbr-minimum-bounding-rectangle/mbrdisjoint.md)                                    | Whether the Minimum Bounding Rectangles of two geometries are disjoint                                                              |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [MBREqual](/docs/server/reference/sql-statements/geometry-constructors/mbr-minimum-bounding-rectangle/mbrequal.md)                                          | Whether the Minimum Bounding Rectangles of two geometries are the same.                                                             |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [MBREquals](/docs/server/reference/sql-statements/geometry-constructors/mbr-minimum-bounding-rectangle/mbrequal.md)                                         | Synonym for MBREqual.                                                                                                               |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [MBRIntersects](/docs/server/reference/sql-statements/geometry-constructors/mbr-minimum-bounding-rectangle/mbrintersects.md)                                | Indicates whether the Minimum Bounding Rectangles of the two geometries intersect                                                   |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [MBROverlaps](/docs/server/reference/sql-statements/geometry-constructors/mbr-minimum-bounding-rectangle/mbroverlaps.md)                                    | Whether the Minimum Bounding Rectangles of two geometries overlap                                                                   |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [MBRTouches](/docs/server/reference/sql-statements/geometry-constructors/mbr-minimum-bounding-rectangle/mbrtouches.md)                                      | Whether the Minimum Bounding Rectangles of two geometries touch.                                                                    |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [MBRWithin](/docs/server/reference/sql-statements/geometry-constructors/mbr-minimum-bounding-rectangle/mbrwithin.md)                                        | Indicates whether one Minimum Bounding Rectangle is within another                                                                  |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [MD5](/docs/server/reference/sql-functions/secondary-functions/encryption-hashing-and-compression-functions/md5.md)                                         | MD5 checksum                                                                                                                        |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [MEDIAN](/docs/server/reference/sql-functions/special-functions/window-functions/median.md)                                                                 | Window function that returns the median value of a range of values                                                                  |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [MICROSECOND](/docs/server/reference/sql-functions/date-time-functions/microsecond.md)                                                                      | Returns microseconds from a date or datetime                                                                                        |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [MID](/docs/server/reference/sql-functions/string-functions/mid.md)                                                                                         | Synonym for SUBSTRING(str,pos,len)                                                                                                  |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [MIN](/docs/server/reference/sql-functions/aggregate-functions/min.md)                                                                                      | Returns the minimum value                                                                                                           |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [MINUTE](/docs/server/reference/sql-functions/date-time-functions/minute.md)                                                                                | Returns a minute from 0 to 59                                                                                                       |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [MLineFromText](/docs/server/reference/sql-statements/geometry-constructors/wkt/mlinefromtext.md)                                                           | Constructs MULTILINESTRING using its WKT representation and SRID                                                                    |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [MLineFromWKB](/docs/server/reference/sql-statements/geometry-constructors/wkb/mlinefromwkb.md)                                                             | Constructs a MULTILINESTRING                                                                                                        |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [MOD](/docs/server/reference/sql-functions/numeric-functions/mod.md)                                                                                        | Modulo operation. Remainder of N divided by M                                                                                       |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [MONTH](/docs/server/reference/sql-functions/date-time-functions/month.md)                                                                                  | Returns a month from 1 to 12                                                                                                        |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [MONTHNAME](/docs/server/reference/sql-functions/date-time-functions/monthname.md)                                                                          | Returns the full name of the month                                                                                                  |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [MPointFromText](/docs/server/reference/sql-statements/geometry-constructors/wkt/mpointfromtext.md)                                                         | Constructs a MULTIPOINT value using its WKT and SRID                                                                                |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [MPointFromWKB](/docs/server/reference/sql-statements/geometry-constructors/wkb/mpointfromwkb.md)                                                           | Constructs a MULTIPOINT value using its WKB representation and SRID                                                                 |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [MPolyFromText](/docs/server/reference/sql-statements/geometry-constructors/wkt/mpolyfromtext.md)                                                           | Constructs a MULTIPOLYGON value                                                                                                     |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [MPolyFromWKB](/docs/server/reference/sql-statements/geometry-constructors/wkb/mpolyfromwkb.md)                                                             | Constructs a MULTIPOLYGON value using its WKB representation and SRID                                                               |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [MULTILINESTRING](/docs/server/reference/sql-statements/geometry-constructors/geometry-constructors/multilinestring.md)                                     | Constructs a MultiLineString value                                                                                                  |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [MultiLineStringFromText](/docs/server/reference/sql-statements/geometry-constructors/wkt/multilinestringfromtext.md)                                       | Synonym for MLineFromText                                                                                                           |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [MultiLineStringFromWKB](/docs/server/reference/sql-statements/geometry-constructors/wkb/multilinestringfromwkb.md)                                         | A synonym for MLineFromWKB                                                                                                          |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [MULTIPOINT](/docs/server/reference/sql-statements/geometry-constructors/geometry-constructors/multipoint.md)                                               | Constructs a WKB MultiPoint value                                                                                                   |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [MultiPointFromText](/docs/server/reference/sql-statements/geometry-constructors/wkt/multipointfromtext.md)                                                 | Synonym for MPointFromText                                                                                                          |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [MultiPointFromWKB](/docs/server/reference/sql-statements/geometry-constructors/wkb/multipointfromwkb.md)                                                   | Synonym for MPointFromWKB                                                                                                           |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [MULTIPOLYGON](/docs/server/reference/sql-statements/geometry-constructors/geometry-constructors/multipolygon.md)                                           | Constructs a WKB MultiPolygon                                                                                                       |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [MultiPolygonFromText](/docs/server/reference/sql-statements/geometry-constructors/wkt/multipolygonfromtext.md)                                             | Synonym for MPolyFromText                                                                                                           |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [MultiPolygonFromWKB](/docs/server/reference/sql-statements/geometry-constructors/wkb/multipolygonfromwkb.md)                                               | Synonym for MPolyFromWKB                                                                                                            |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [NAME\_CONST](/docs/server/reference/sql-functions/secondary-functions/miscellaneous-functions/name_const.md)                                               | Returns the given value                                                                                                             |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [NATURAL\_SORT\_KEY](/docs/server/reference/sql-functions/string-functions/natural_sort_key.md)                                                             | Sorting that is more similar to natural human sorting                                                                               |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [NOT LIKE](/docs/server/reference/sql-functions/string-functions/not-like.md)                                                                               | Same as NOT(expr LIKE pat \[ESCAPE 'escape\_char'])                                                                                 |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [NOT REGEXP](/docs/server/reference/sql-functions/string-functions/not-regexp.md)                                                                           | Same as NOT (expr REGEXP pat)                                                                                                       |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [NULLIF](/docs/server/reference/sql-functions/control-flow-functions/nullif.md)                                                                             | Returns NULL if expr1 = expr2                                                                                                       |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [NEXTVAL](/docs/server/reference/sql-structure/sequences/sequence-functions/next-value-for-sequence_name.md)                                                | Generate next value for sequence                                                                                                    |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [NOT BETWEEN](/docs/server/reference/sql-structure/operators/comparison-operators/not-between.md)                                                           | Same as NOT (expr BETWEEN min AND max)                                                                                              |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [NOT IN](/docs/server/reference/sql-structure/operators/comparison-operators/not-in.md)                                                                     | Same as NOT (expr IN (value,...))                                                                                                   |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [NOW](/docs/server/reference/sql-functions/date-time-functions/now.md)                                                                                      | Returns the current date and time                                                                                                   |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [NTILE](/docs/server/reference/sql-functions/special-functions/window-functions/ntile.md)                                                                   | Returns an integer indicating which group a given row falls into                                                                    |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [NumGeometries](/docs/server/reference/sql-statements/geometry-constructors/geometry-properties/st_numgeometries.md)                                        | Synonym for ST\_NumGeometries                                                                                                       |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [NumInteriorRings](/docs/server/reference/sql-statements/geometry-constructors/polygon-properties/st_numinteriorrings.md)                                   | Synonym for NumInteriorRings                                                                                                        |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [NumPoints](/docs/server/reference/sql-statements/geometry-constructors/linestring-properties/st_numpoints.md)                                              | Synonym for ST\_NumPoints                                                                                                           |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [OCT](/docs/server/reference/sql-functions/numeric-functions/oct.md)                                                                                        | Returns octal value                                                                                                                 |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [OCTET\_LENGTH](/docs/server/reference/sql-functions/string-functions/octet_length.md)                                                                      | Synonym for LENGTH()                                                                                                                |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [OLD\_PASSWORD](/docs/server/reference/sql-functions/secondary-functions/encryption-hashing-and-compression-functions/old_password.md)                      | Pre MySQL 4.1 password implementation                                                                                               |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [ORD](/docs/server/reference/sql-functions/string-functions/ord.md)                                                                                         | Return ASCII or character code                                                                                                      |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [OVERLAPS](/docs/server/reference/sql-statements/geometry-constructors/geometry-relations/overlaps.md)                                                      | Indicates whether two elements spatially overlap                                                                                    |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [PASSWORD](/docs/server/reference/sql-functions/secondary-functions/encryption-hashing-and-compression-functions/password.md)                               | Calculates a password string                                                                                                        |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [PERCENT\_RANK](/docs/server/reference/sql-functions/special-functions/window-functions/percent_rank.md)                                                    | Window function that returns the relative percent rank of a given row                                                               |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [PERCENTILE\_CONT](/docs/server/reference/sql-functions/special-functions/window-functions/percentile_cont.md)                                              | Returns a value which corresponds to the given fraction in the sort order.                                                          |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [PERCENTILE\_DISC](/docs/server/reference/sql-functions/special-functions/window-functions/percentile_disc.md)                                              | Returns the first value in the set whose ordered position is the same or more than the specified fraction.                          |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [PERIOD\_ADD](/docs/server/reference/sql-functions/date-time-functions/period_add.md)                                                                       | Add months to a period                                                                                                              |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [PERIOD\_DIFF](/docs/server/reference/sql-functions/date-time-functions/period_diff.md)                                                                     | Number of months between two periods                                                                                                |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [PI](/docs/server/reference/sql-functions/numeric-functions/pi.md)                                                                                          | Returns the value of π (pi)                                                                                                         |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [POINT](/docs/server/reference/sql-statements/geometry-constructors/geometry-constructors/point.md)                                                         | Constructs a WKB Point                                                                                                              |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [PointFromText](/docs/server/reference/sql-statements/geometry-constructors/wkt/st_pointfromtext.md)                                                        | Synonym for ST\_PointFromText                                                                                                       |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [PointFromWKB](/docs/server/reference/sql-statements/geometry-constructors/wkb/st_pointfromwkb.md)                                                          | Synonym for PointFromWKB                                                                                                            |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [PointN](/docs/server/reference/sql-statements/geometry-constructors/linestring-properties/st_pointn.md)                                                    | Synonym for PointN                                                                                                                  |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [PointOnSurface](/docs/server/reference/sql-statements/geometry-constructors/geometry-constructors/pointonsurface.md)                                       | Synonym for ST\_PointOnSurface                                                                                                      |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [POLYGON](/docs/server/reference/sql-statements/geometry-constructors/geometry-constructors/polygon.md)                                                     | Constructs a WKB Polygon value from a number of WKB LineString arguments                                                            |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [PolyFromText](/docs/server/reference/sql-statements/geometry-constructors/wkt/st_polyfromtext.md)                                                          | Synonym for ST\_PolyFromText                                                                                                        |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [PolyFromWKB](/docs/server/reference/sql-statements/geometry-constructors/wkb/st_polyfromwkb.md)                                                            | Synonym for ST\_PolyFromWKB                                                                                                         |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [PolygonFromText](/docs/server/reference/sql-statements/geometry-constructors/wkt/polygonfromtext.md)                                                       | Synonym for ST\_PolyFromText                                                                                                        |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [PolygonFromWKB](/docs/server/reference/sql-statements/geometry-constructors/wkb/polygonfromwkb.md)                                                         | Synonym for ST\_PolyFromWKB                                                                                                         |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [POSITION](/docs/server/reference/sql-functions/string-functions/position.md)                                                                               | Returns the position of a substring in a string                                                                                     |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [POW](/docs/server/reference/sql-functions/numeric-functions/pow.md)                                                                                        | Returns X raised to the power of Y                                                                                                  |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [POWER](/docs/server/reference/sql-functions/numeric-functions/power.md)                                                                                    | Synonym for POW()                                                                                                                   |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [QUARTER](/docs/server/reference/sql-functions/date-time-functions/quarter.md)                                                                              | Returns year quarter from 1 to 4                                                                                                    |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [QUOTE](/docs/server/reference/sql-functions/string-functions/quote.md)                                                                                     | Returns quoted, properly escaped string                                                                                             |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [RADIANS](/docs/server/reference/sql-functions/numeric-functions/radians.md)                                                                                | Converts from degrees to radians                                                                                                    |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [RAND](/docs/server/reference/sql-functions/numeric-functions/rand.md)                                                                                      | Random floating-point value                                                                                                         |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [RANK](/docs/server/reference/sql-functions/special-functions/window-functions/rank.md)                                                                     | Rank of a given row with identical values receiving the same result                                                                 |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [REGEXP](/docs/server/reference/sql-functions/string-functions/regular-expressions-functions/regexp.md)                                                     | Performs pattern matching                                                                                                           |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [REGEXP\_INSTR](/docs/server/reference/sql-functions/string-functions/regular-expressions-functions/regexp_instr.md)                                        | Position of the first appearance of a regex                                                                                         |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [REGEXP\_REPLACE](/docs/server/reference/sql-functions/string-functions/regular-expressions-functions/regexp_replace.md)                                    | Replaces all occurrences of a pattern                                                                                               |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [REGEXP\_SUBSTR](/docs/server/reference/sql-functions/string-functions/regular-expressions-functions/regexp_substr.md)                                      | Returns the matching part of a string                                                                                               |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [RELEASE\_LOCK](/docs/server/reference/sql-functions/secondary-functions/miscellaneous-functions/release_lock.md)                                           | Releases lock obtained with GET\_LOCK()                                                                                             |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [REPEAT Function](/docs/server/reference/sql-functions/string-functions/repeat-function.md)                                                                 | Returns a string repeated a number of times                                                                                         |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [REPLACE Function](/docs/server/reference/sql-functions/string-functions/replace-function.md)                                                               | Replace occurrences of a string                                                                                                     |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [REVERSE](/docs/server/reference/sql-functions/string-functions/reverse.md)                                                                                 | Reverses the order of a string                                                                                                      |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [RIGHT](/docs/server/reference/sql-functions/string-functions/right.md)                                                                                     | Returns the rightmost N characters from a string                                                                                    |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [RLIKE](/docs/server/reference/sql-functions/string-functions/regular-expressions-functions/rlike.md)                                                       | Synonym for REGEXP()                                                                                                                |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [RPAD](/docs/server/reference/sql-functions/string-functions/rpad.md)                                                                                       | Returns the string right-padded with another string to a given length                                                               |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [ROUND](/docs/server/reference/sql-functions/numeric-functions/round.md)                                                                                    | Rounds a number                                                                                                                     |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [ROW\_COUNT](/docs/server/reference/sql-functions/secondary-functions/information-functions/row_count.md)                                                   | Number of rows affected by previous statement                                                                                       |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [ROW\_NUMBER](/docs/server/reference/sql-functions/special-functions/window-functions/row_number.md)                                                        | Row number of a given row with identical values receiving a different result                                                        |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [RTRIM](/docs/server/reference/sql-functions/string-functions/rtrim.md)                                                                                     | Returns the string with trailing space characters removed                                                                           |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [SCHEMA](/docs/server/reference/sql-functions/secondary-functions/information-functions/schema.md)                                                          | Synonym for DATABASE()                                                                                                              |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [SECOND](/docs/server/reference/sql-functions/date-time-functions/second.md)                                                                                | Returns the second of a time                                                                                                        |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [SEC\_TO\_TIME](/docs/server/reference/sql-functions/date-time-functions/sec_to_time.md)                                                                    | Converts a second to a time                                                                                                         |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [SETVAL](/docs/server/reference/sql-structure/sequences/sequence-functions/setval.md)                                                                       | Set the next value to be returned by a sequence                                                                                     |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [SESSION\_USER](/docs/server/reference/sql-functions/secondary-functions/information-functions/session_user.md)                                             | Synonym for USER()                                                                                                                  |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [sha](/docs/server/reference/sql-functions/secondary-functions/encryption-hashing-and-compression-functions/sha1.md)                                        | Synonym for SHA1()                                                                                                                  |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [SHA1](/docs/server/reference/sql-functions/secondary-functions/encryption-hashing-and-compression-functions/sha1.md)                                       | Calculates an SHA-1 checksum                                                                                                        |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [SHA2](/docs/server/reference/sql-functions/secondary-functions/encryption-hashing-and-compression-functions/sha2.md)                                       | Calculates an SHA-2 checksum                                                                                                        |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [SIGN](/docs/server/reference/sql-functions/numeric-functions/sign.md)                                                                                      | Returns 1, 0 or -1                                                                                                                  |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [SIN](/docs/server/reference/sql-functions/numeric-functions/sin.md)                                                                                        | Returns the sine                                                                                                                    |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [SLEEP](/docs/server/reference/sql-functions/secondary-functions/miscellaneous-functions/sleep.md)                                                          | Pauses for the given number of seconds                                                                                              |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [SOUNDEX](/docs/server/reference/sql-functions/string-functions/soundex.md)                                                                                 | Returns a string based on how the string sounds                                                                                     |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [SOUNDS LIKE](/docs/server/reference/sql-functions/string-functions/sounds-like.md)                                                                         | SOUNDEX(expr1) = SOUNDEX(expr2)                                                                                                     |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [SPACE](/docs/server/reference/sql-functions/string-functions/space.md)                                                                                     | Returns a string of space characters                                                                                                |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [SPIDER\_BG\_DIRECT\_SQL](/docs/server/server-usage/storage-engines/spider/spider-functions/spider_bg_direct_sql.md)                                        | Background SQL execution                                                                                                            |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [SPIDER\_COPY\_TABLES](/docs/server/server-usage/storage-engines/spider/spider-functions/spider_copy_tables.md)                                             | Copy table data                                                                                                                     |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [SPIDER\_DIRECT\_SQL](/docs/server/server-usage/storage-engines/spider/spider-functions/spider_direct_sql.md)                                               | Execute SQL on the remote server                                                                                                    |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [SPIDER\_FLUSH\_TABLE\_MON\_CACHE](/docs/server/server-usage/storage-engines/spider/spider-functions/spider_flush_table_mon_cache.md)                       | Refreshing Spider monitoring server information                                                                                     |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [SQRT](/docs/server/reference/sql-functions/numeric-functions/sqrt.md)                                                                                      | Square root                                                                                                                         |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [SRID](/docs/server/reference/sql-statements/geometry-constructors/geometry-properties/st_srid.md)                                                          | Synonym for ST\_SRID                                                                                                                |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [ST\_AREA](/docs/server/reference/sql-statements/geometry-constructors/polygon-properties/st_area.md)                                                       | Area of a Polygon                                                                                                                   |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [ST\_AsBinary](/docs/server/reference/sql-statements/geometry-constructors/wkb/st_asbinary.md)                                                              | Converts a value to its WKB representation                                                                                          |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [ST\_AsGeoJson](/docs/server/reference/sql-statements/geometry-constructors/geometry-constructors/geojson-st_asgeojson.md)                                  | Returns a GeoJSON element from a given geometry.                                                                                    |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [ST\_AsText](/docs/server/reference/sql-statements/geometry-constructors/wkt/st_astext.md)                                                                  | Converts a value to its WKT-Definition                                                                                              |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [ST\_AsWKB](/docs/server/reference/sql-statements/geometry-constructors/wkb/st_aswkb.md)                                                                    | Synonym for ST\_AsBinary                                                                                                            |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [ST\_ASWKT](/docs/server/reference/sql-statements/geometry-constructors/wkt/st_aswkt.md)                                                                    | Synonym for ST\_ASTEXT()                                                                                                            |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [ST\_BOUNDARY](/docs/server/reference/sql-statements/geometry-constructors/geometry-properties/st_boundary.md)                                              | Returns a geometry that is the closure of a combinatorial boundary                                                                  |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [ST\_BUFFER](/docs/server/reference/sql-statements/geometry-constructors/geometry-constructors/st_buffer.md)                                                | A new geometry with a buffer added to the original geometry                                                                         |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [ST\_CENTROID](/docs/server/reference/sql-statements/geometry-constructors/polygon-properties/st_centroid.md)                                               | The mathematical centroid (geometric center) for a MultiPolygon                                                                     |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [ST\_Collect](/docs/server/reference/sql-statements/geometry-constructors/miscellaneous-gis-functions/st_collect.md)                                        | Returns the aggregation of the distinct geometry arguments                                                                          | [MariaDB 11.8](/docs/release-notes/community-server/11.8/what-is-mariadb-118.md)                                                                                                                                                                                                                                                                                                                                                      |
| [ST\_CONTAINS](/docs/server/reference/sql-statements/geometry-constructors/geometry-relations/st-contains.md)                                               | Whether one geometry is contained by another                                                                                        |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [ST\_CONVEXHULL](/docs/server/reference/sql-statements/geometry-constructors/geometry-constructors/st_convexhull.md)                                        | The minimum convex geometry enclosing all geometries within the set                                                                 |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [ST\_CROSSES](/docs/server/reference/sql-statements/geometry-constructors/geometry-relations/st-crosses.md)                                                 | Whether two geometries spatially cross                                                                                              |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [ST\_DIFFERENCE](/docs/server/reference/sql-statements/geometry-constructors/geometry-relations/st_difference.md)                                           | Point set difference                                                                                                                |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [ST\_DIMENSION](/docs/server/reference/sql-statements/geometry-constructors/geometry-properties/st_dimension.md)                                            | Inherent dimension of a geometry value                                                                                              |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [ST\_DISJOINT](/docs/server/reference/sql-statements/geometry-constructors/geometry-relations/st_disjoint.md)                                               | Whether one geometry is spatially disjoint from another                                                                             |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [ST\_DISTANCE](/docs/server/reference/sql-statements/geometry-constructors/geometry-relations/st_distance.md)                                               | The distance between two geometries                                                                                                 |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [ST\_DISTANCE\_SPHERE](/docs/server/reference/sql-statements/geometry-constructors/geometry-relations/st_distance_sphere.md)                                | The spherical distance between two geometries                                                                                       |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [ST\_ENDPOINT](/docs/server/reference/sql-statements/geometry-constructors/linestring-properties/st_endpoint.md)                                            | Returns the endpoint of a LineString                                                                                                |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [ST\_ENVELOPE](/docs/server/reference/sql-statements/geometry-constructors/geometry-properties/st_envelope.md)                                              | Returns the Minimum Bounding Rectangle for a geometry value                                                                         |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [ST\_EQUALS](/docs/server/reference/sql-statements/geometry-constructors/geometry-relations/st-equals.md)                                                   | Whether two geometries are spatoially equal                                                                                         |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [ST\_ExteriorRing](/docs/server/reference/sql-statements/geometry-constructors/polygon-properties/st_exteriorring.md)                                       | Returns the exterior ring of a Polygon as a LineString                                                                              |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [ST\_GeoHash](/docs/server/reference/sql-statements/geometry-constructors/miscellaneous-gis-functions/st_geohash.md)                                        | Returns a geohash.                                                                                                                  | [MariaDB 11.8](/docs/release-notes/community-server/11.8/what-is-mariadb-118.md)                                                                                                                                                                                                                                                                                                                                                      |
| [ST\_GeomCollFromText](/docs/server/reference/sql-statements/geometry-constructors/wkt/st_geomcollfromtext.md)                                              | Constructs a GEOMETRYCOLLECTION value                                                                                               |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [ST\_GeomCollFromWKB](/docs/server/reference/sql-statements/geometry-constructors/wkb/st_geomcollfromwkb.md)                                                | Constructs a GEOMETRYCOLLECTION value from a WKB                                                                                    |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [ST\_GeometryCollectionFromText](/docs/server/reference/sql-statements/geometry-constructors/wkt/st_geometrycollectionfromtext.md)                          | Synonym for ST\_GeomCollFromText                                                                                                    |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [ST\_GeometryCollectionFromWKB](/docs/server/reference/sql-statements/geometry-constructors/wkb/st_geometrycollectionfromwkb.md)                            | Synonym for ST\_GeomCollFromWKB                                                                                                     |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [ST\_GeometryFromText](/docs/server/reference/sql-statements/geometry-constructors/wkt/st_geometryfromtext.md)                                              | Synonym for ST\_GeomFromText                                                                                                        |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [ST\_GeometryFromWKB](/docs/server/reference/sql-statements/geometry-constructors/wkb/st_geometryfromwkb.md)                                                | Synonym for ST\_GeomFromWKB                                                                                                         |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [ST\_GEOMETRYN](/docs/server/reference/sql-statements/geometry-constructors/geometry-properties/st_geometryn.md)                                            | Returns the N-th geometry in a GeometryCollection                                                                                   |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [ST\_GEOMETRYTYPE](/docs/server/reference/sql-statements/geometry-constructors/geometry-properties/st_geometrytype.md)                                      | Returns name of the geometry type of which a given geometry instance is a member                                                    |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [ST\_GeomFromGeoJSON](/docs/server/reference/sql-statements/geometry-constructors/geometry-constructors/st_geomfromgeojson.md)                              | Returns a geometry object from a GeoJSON input                                                                                      |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [ST\_GeomFromText](/docs/server/reference/sql-statements/geometry-constructors/wkt/st_geomfromtext.md)                                                      | Constructs a geometry value using its WKT and SRID                                                                                  |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [ST\_GeomFromWKB](/docs/server/reference/sql-statements/geometry-constructors/wkb/st_geomfromwkb.md)                                                        | Constructs a geometry value using its WKB representation and SRID                                                                   |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [ST\_InteriorRingN](/docs/server/reference/sql-statements/geometry-constructors/polygon-properties/st_interiorringn.md)                                     | Returns the N-th interior ring for a Polygon                                                                                        |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [ST\_INTERSECTION](/docs/server/reference/sql-statements/geometry-constructors/geometry-constructors/st_intersection.md)                                    | The intersection, or shared portion, of two geometries                                                                              |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [ST\_INTERSECTS](/docs/server/reference/sql-statements/geometry-constructors/geometry-relations/st-intersects.md)                                           | Whether two geometries spatially intersect                                                                                          |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [ST\_ISCLOSED](/docs/server/reference/sql-statements/geometry-constructors/geometry-properties/st_isclosed.md)                                              | Returns true if a given LINESTRING's start and end points are the same                                                              |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [ST\_ISEMPTY](/docs/server/reference/sql-statements/geometry-constructors/geometry-properties/st_isempty.md)                                                | Indicated validity of geometry value                                                                                                |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [ST\_IsRing](/docs/server/reference/sql-statements/geometry-constructors/geometry-properties/st_isring.md)                                                  | Returns true if a given LINESTRING is both ST\_IsClosed and ST\_IsSimple                                                            |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [ST\_IsSimple](/docs/server/reference/sql-statements/geometry-constructors/geometry-properties/st_issimple.md)                                              | Returns true if the given Geometry has no anomalous geometric points                                                                |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [ST\_IsValid](/docs/server/reference/sql-statements/geometry-constructors/miscellaneous-gis-functions/st_isvalid.md)                                        | Returns 1 if the argument is geometrically valid, 0 if not.                                                                         | [MariaDB 11.8](/docs/release-notes/community-server/11.8/what-is-mariadb-118.md)                                                                                                                                                                                                                                                                                                                                                      |
| [ST\_LatFromGeoHash](/docs/server/reference/sql-statements/geometry-constructors/miscellaneous-gis-functions/st_latfromgeohash.md)                          | Returns a latitude from the given geohash.                                                                                          | [MariaDB 11.8](/docs/release-notes/community-server/11.8/what-is-mariadb-118.md)                                                                                                                                                                                                                                                                                                                                                      |
| [ST\_LongFromGeoHash](/docs/server/reference/sql-statements/geometry-constructors/miscellaneous-gis-functions/st_longfromgeohash.md)                        | Returns a longitude from the given geohash.                                                                                         | [MariaDB 11.8](/docs/release-notes/community-server/11.8/what-is-mariadb-118.md)                                                                                                                                                                                                                                                                                                                                                      |
| [ST\_LENGTH](/docs/server/reference/sql-statements/geometry-constructors/geometry-relations/st_length.md)                                                   | Length of a LineString value                                                                                                        |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [ST\_LineFromText](/docs/server/reference/sql-statements/geometry-constructors/wkt/st_linefromtext.md)                                                      | Creates a linestring value                                                                                                          |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [ST\_LineFromWKB](/docs/server/reference/sql-statements/geometry-constructors/wkb/st_linefromwkb.md)                                                        | Constructs a LINESTRING using its WKB and SRID                                                                                      |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [ST\_LineStringFromText](/docs/server/reference/sql-statements/geometry-constructors/wkt/st_linestringfromtext.md)                                          | Synonym for ST\_LineFromText                                                                                                        |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [ST\_LineStringFromWKB](/docs/server/reference/sql-statements/geometry-constructors/wkb/st_linestringfromwkb.md)                                            | Synonym for ST\_LineFromWKB                                                                                                         |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [ST\_MLineFromText](/docs/server/reference/sql-statements/geometry-constructors/wkt/st_geomfromtext.md)                                                     | Synonym for ST\_GeomFromText                                                                                                        |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [ST\_MLineFromWKB](/docs/server/reference/sql-statements/geometry-constructors/wkb/st_geomfromwkb.md)                                                       | Synonym for ST\_GeomFromWKB                                                                                                         |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [ST\_MPointFromText](/docs/server/reference/sql-statements/geometry-constructors/wkt/st_geomfromtext.md)                                                    | Synonym for ST\_GeomFromText                                                                                                        |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [ST\_MPointFromWKB](/docs/server/reference/sql-statements/geometry-constructors/wkb/st_geomfromwkb.md)                                                      | Synonym for ST\_GeomFromWKB                                                                                                         |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [ST\_MPolyFromText](/docs/server/reference/sql-statements/geometry-constructors/wkt/st_geomfromtext.md)                                                     | Synonym for ST\_GeomFromText                                                                                                        |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [ST\_MPolyFromWKB](/docs/server/reference/sql-statements/geometry-constructors/wkb/st_geomfromwkb.md)                                                       | Synonym for ST\_GeomFromWKB                                                                                                         |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [ST\_MultiLineStringFromText](/docs/server/reference/sql-statements/geometry-constructors/wkt/st_geomfromtext.md)                                           | Synonym for ST\_GeomFromText                                                                                                        |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [ST\_MultiLineStringFromWKB](/docs/server/reference/sql-statements/geometry-constructors/wkb/st_geomfromwkb.md)                                             | Synonym for ST\_GeomFromWKB                                                                                                         |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [ST\_MultiPointFromText](/docs/server/reference/sql-statements/geometry-constructors/wkt/st_geomfromtext.md)                                                | Synonym for ST\_GeomFromText                                                                                                        |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [ST\_MultiPolygonFromText](/docs/server/reference/sql-statements/geometry-constructors/wkt/st_geomfromtext.md)                                              | Synonym for ST\_GeomFromText                                                                                                        |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [ST\_MultiPolygonFromWKB](/docs/server/reference/sql-statements/geometry-constructors/wkb/st_geomfromwkb.md)                                                | Synonym for ST\_GeomFromWKB                                                                                                         |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [ST\_MultiPointFromWKB](/docs/server/reference/sql-statements/geometry-constructors/wkb/st_geomfromwkb.md)                                                  | Synonym for ST\_GeomFromWKB                                                                                                         |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [ST\_NUMGEOMETRIES](/docs/server/reference/sql-statements/geometry-constructors/geometry-properties/st_numgeometries.md)                                    | Number of geometries in a GeometryCollection                                                                                        |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [ST\_NumInteriorRings](/docs/server/reference/sql-statements/geometry-constructors/polygon-properties/st_numinteriorrings.md)                               | Number of interior rings in a Polygon                                                                                               |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [ST\_NUMPOINTS](/docs/server/reference/sql-statements/geometry-constructors/linestring-properties/st_numpoints.md)                                          | Returns the number of Point objects in a LineString                                                                                 |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [ST\_OVERLAPS](/docs/server/reference/sql-statements/geometry-constructors/geometry-relations/st-overlaps.md)                                               | Whether two geometries overlap                                                                                                      |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [ST\_PointFromGeoHash](/docs/server/reference/sql-statements/geometry-constructors/miscellaneous-gis-functions/st_pointfromgeohash.md)                      | Returns a point from the given geohash.                                                                                             | [MariaDB 11.8](/docs/release-notes/community-server/11.8/what-is-mariadb-118.md)                                                                                                                                                                                                                                                                                                                                                      |
| [ST\_PointFromText](/docs/server/reference/sql-statements/geometry-constructors/wkt/st_pointfromtext.md)                                                    | Constructs a POINT value                                                                                                            |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [ST\_PointFromWKB](/docs/server/reference/sql-statements/geometry-constructors/wkb/st_pointfromwkb.md)                                                      | Constructs POINT using its WKB and SRID                                                                                             |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [ST\_POINTN](/docs/server/reference/sql-statements/geometry-constructors/linestring-properties/st_pointn.md)                                                | Returns the N-th Point in the LineString                                                                                            |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [ST\_POINTONSURFACE](/docs/server/reference/sql-statements/geometry-constructors/geometry-constructors/st_pointonsurface.md)                                | Returns a POINT guaranteed to intersect a surface                                                                                   |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [ST\_PolyFromText](/docs/server/reference/sql-statements/geometry-constructors/wkt/st_polyfromtext.md)                                                      | Constructs a POLYGON value                                                                                                          |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [ST\_PolyFromWKB](/docs/server/reference/sql-statements/geometry-constructors/wkb/st_polyfromwkb.md)                                                        | Constructs POLYGON value using its WKB representation and SRID                                                                      |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [ST\_PolygonFromText](/docs/server/reference/sql-statements/geometry-constructors/wkt/st_polygonfromtext.md)                                                | Synonym for ST\_PolyFromText                                                                                                        |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [ST\_PolygonFromWKB](/docs/server/reference/sql-statements/geometry-constructors/wkb/st_polygonfromwkb.md)                                                  | Synonym for ST\_PolyFromWKB                                                                                                         |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [ST\_RELATE](/docs/server/reference/sql-statements/geometry-constructors/geometry-properties/st_relate.md)                                                  | Returns true if two geometries are related                                                                                          |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [ST\_Simplify](/docs/server/reference/sql-statements/geometry-constructors/miscellaneous-gis-functions/st_simplify.md)                                      | Applies the Ramer–Douglas–Peucker algorithm to provide generalized simplifications.                                                 | [MariaDB 11.8](/docs/release-notes/community-server/11.8/what-is-mariadb-118.md)                                                                                                                                                                                                                                                                                                                                                      |
| [ST\_SRID](/docs/server/reference/sql-statements/geometry-constructors/geometry-properties/st_srid.md)                                                      | Returns a Spatial Reference System ID                                                                                               |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [ST\_STARTPOINT](/docs/server/reference/sql-statements/geometry-constructors/linestring-properties/st_startpoint.md)                                        | Returns the start point of a LineString                                                                                             |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [ST\_SYMDIFFERENCE](/docs/server/reference/sql-statements/geometry-constructors/geometry-constructors/st_symdifference.md)                                  | Portions of two geometries that don't intersect                                                                                     |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [ST\_TOUCHES](/docs/server/reference/sql-statements/geometry-constructors/geometry-relations/st-touches.md)                                                 | Whether one geometry g1 spatially touches another                                                                                   |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [ST\_UNION](/docs/server/reference/sql-statements/geometry-constructors/geometry-constructors/st_union.md)                                                  | Union of two geometries                                                                                                             |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [ST\_Validate](/docs/server/reference/sql-statements/geometry-constructors/miscellaneous-gis-functions/st_validate.md)                                      | Whether a geometry is compliant with the WKB format and SRID syntax, and is geometrically valid.                                    | [MariaDB 11.8](/docs/release-notes/community-server/11.8/what-is-mariadb-118.md)                                                                                                                                                                                                                                                                                                                                                      |
| [ST\_WITHIN](/docs/server/reference/sql-statements/geometry-constructors/geometry-relations/st-within.md)                                                   | Whether one geometry is within another                                                                                              |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [ST\_X](/docs/server/reference/sql-statements/geometry-constructors/point-properties/st_x.md)                                                               | X-coordinate value for a point                                                                                                      |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [ST\_Y](/docs/server/reference/sql-statements/geometry-constructors/point-properties/st_y.md)                                                               | Y-coordinate for a point                                                                                                            |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [STARTPOINT](/docs/server/reference/sql-statements/geometry-constructors/linestring-properties/st_startpoint.md)                                            | Synonym for ST\_StartPoint                                                                                                          |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [STD](/docs/server/reference/sql-functions/aggregate-functions/std.md)                                                                                      | Population standard deviation                                                                                                       |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [STDDEV](/docs/server/reference/sql-functions/aggregate-functions/stddev.md)                                                                                | Population standard deviation                                                                                                       |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [STDDEV\_POP](/docs/server/reference/sql-functions/aggregate-functions/stddev_pop.md)                                                                       | Returns the population standard deviation                                                                                           |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [STDDEV\_SAMP](/docs/server/reference/sql-functions/aggregate-functions/stddev_samp.md)                                                                     | Standard deviation                                                                                                                  |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [STR\_TO\_DATE](/docs/server/reference/sql-functions/date-time-functions/str_to_date.md)                                                                    | Converts a string to date                                                                                                           |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [STRCMP](/docs/server/reference/sql-functions/string-functions/strcmp.md)                                                                                   | Compares two strings in sort order                                                                                                  |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [SUBDATE](/docs/server/reference/sql-functions/date-time-functions/subdate.md)                                                                              | Subtract a date unit or number of days                                                                                              |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [SUBSTR](/docs/server/reference/sql-functions/string-functions/substr.md)                                                                                   | Returns a substring from string starting at a given position                                                                        |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [SUBSTRING](/docs/server/reference/sql-functions/string-functions/substring.md)                                                                             | Returns a substring from string starting at a given position                                                                        |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [SUBSTRING\_INDEX](/docs/server/reference/sql-functions/string-functions/substring_index.md)                                                                | Returns the substring from string before count occurrences of a delimiter                                                           |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [SUBTIME](/docs/server/reference/sql-functions/date-time-functions/subtime.md)                                                                              | Subtracts a time from a date/time                                                                                                   |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [SUM](/docs/server/reference/sql-functions/aggregate-functions/sum.md)                                                                                      | Sum total                                                                                                                           |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [SYS.EXTRACT\_SCHEMA\_FROM\_FILE\_NAME](/docs/server/reference/system-tables/sys-schema/sys-schema-stored-functions/extract_schema_from_file_name.md)       | Given a file path, returns the schema (database) name                                                                               | [MariaDB 10.6](/docs/release-notes/community-server/10.6/what-is-mariadb-106.md)                                                                                                                                                                                                                                                                                                                                                      |
| [SYS.EXTRACT\_TABLE\_FROM\_FILE\_NAME](/docs/server/reference/system-tables/sys-schema/sys-schema-stored-functions/extract_table_from_file_name.md)         | Given a file path, returns the table name                                                                                           | [MariaDB 10.6](/docs/release-notes/community-server/10.6/what-is-mariadb-106.md)                                                                                                                                                                                                                                                                                                                                                      |
| [SYS.FORMAT\_BYTES](/docs/server/reference/system-tables/sys-schema/sys-schema-stored-functions/sys_schema_format_bytes.md)                                 | Returns a string consisting of a value and the units in a human-readable format                                                     | [MariaDB 10.6](/docs/release-notes/community-server/10.6/what-is-mariadb-106.md)                                                                                                                                                                                                                                                                                                                                                      |
| [SYS.FORMAT\_PATH](/docs/server/reference/system-tables/sys-schema/sys-schema-stored-functions/format_path.md)                                              | Returns a modified path after replacing subpaths matching the values of various system variables with the variable name             | [MariaDB 10.6](/docs/release-notes/community-server/10.6/what-is-mariadb-106.md)                                                                                                                                                                                                                                                                                                                                                      |
| [SYS.FORMAT\_STATEMENT](/docs/server/reference/system-tables/sys-schema/sys-schema-stored-functions/format_statement.md)                                    | Returns a reduced length string                                                                                                     | [MariaDB 10.6](/docs/release-notes/community-server/10.6/what-is-mariadb-106.md)                                                                                                                                                                                                                                                                                                                                                      |
| [SYS.FORMAT\_TIME](/docs/server/reference/system-tables/sys-schema/sys-schema-stored-functions/format_time.md)                                              | Returns a human-readable time value and unit indicator                                                                              | [MariaDB 10.6](/docs/release-notes/community-server/10.6/what-is-mariadb-106.md)                                                                                                                                                                                                                                                                                                                                                      |
| [SYS.LIST\_ADD](/docs/server/reference/system-tables/sys-schema/sys-schema-stored-functions/list_add.md)                                                    | Adds a value to a given list                                                                                                        | [MariaDB 10.6](/docs/release-notes/community-server/10.6/what-is-mariadb-106.md)                                                                                                                                                                                                                                                                                                                                                      |
| [SYS.LIST\_DROP](/docs/server/reference/system-tables/sys-schema/sys-schema-stored-functions/list_drop.md)                                                  | Drops a value from a given list                                                                                                     | [MariaDB 10.6](/docs/release-notes/community-server/10.6/what-is-mariadb-106.md)                                                                                                                                                                                                                                                                                                                                                      |
| [SYS.PS\_IS\_ACCOUNT\_ENABLED](/docs/server/reference/system-tables/sys-schema/sys-schema-stored-functions/ps_is_account_enabled.md)                        | Whether Performance Schema instrumentation for the given account is enabled                                                         | [MariaDB 10.6](/docs/release-notes/community-server/10.6/what-is-mariadb-106.md)                                                                                                                                                                                                                                                                                                                                                      |
| [SYS.PS\_IS\_CONSUMER\_ENABLED](/docs/server/reference/system-tables/sys-schema/sys-schema-stored-functions/ps_is_consumer_enabled.md)                      | Whether Performance Schema instrumentation for the given consumer is enabled                                                        | [MariaDB 10.6](/docs/release-notes/community-server/10.6/what-is-mariadb-106.md)                                                                                                                                                                                                                                                                                                                                                      |
| [SYS.PS\_IS\_INSTRUMENT\_DEFAULT\_ENABLED](/docs/server/reference/system-tables/sys-schema/sys-schema-stored-functions/ps_is_instrument_default_enabled.md) | Whether a given Performance Schema instrument is enabled by default                                                                 | [MariaDB 10.6](/docs/release-notes/community-server/10.6/what-is-mariadb-106.md)                                                                                                                                                                                                                                                                                                                                                      |
| [SYS.PS\_IS\_INSTRUMENT\_DEFAULT\_TIMED](/docs/server/reference/system-tables/sys-schema/sys-schema-stored-functions/ps_is_instrument_default_timed.md)     | Returns whether a given Performance Schema instrument is timed by default                                                           | [MariaDB 10.6](/docs/release-notes/community-server/10.6/what-is-mariadb-106.md)                                                                                                                                                                                                                                                                                                                                                      |
| [SYS.PS\_IS\_THREAD\_INSTRUMENTED](/docs/server/reference/system-tables/sys-schema/sys-schema-stored-functions/ps_is_thread_instrumented.md)                | Returns whether or not Performance Schema instrumentation for the given connection\_id is enabled                                   | [MariaDB 10.6](/docs/release-notes/community-server/10.6/what-is-mariadb-106.md)                                                                                                                                                                                                                                                                                                                                                      |
| [SYS.PS\_THREAD\_ACCOUNT](/docs/server/reference/system-tables/sys-schema/sys-schema-stored-functions/ps_thread_account.md)                                 | Returns the account (username\@hostname) associated with the given thread\_id                                                       | [MariaDB 10.6](/docs/release-notes/community-server/10.6/what-is-mariadb-106.md)                                                                                                                                                                                                                                                                                                                                                      |
| [SYS.PS\_THREAD\_ID](/docs/server/reference/system-tables/sys-schema/sys-schema-stored-functions/ps_thread_id.md)                                           | Returns the thread\_id associated with the given connection\_id                                                                     | [MariaDB 10.6](/docs/release-notes/community-server/10.6/what-is-mariadb-106.md)                                                                                                                                                                                                                                                                                                                                                      |
| [SYS.PS\_THREAD\_STACK](/docs/server/reference/system-tables/sys-schema/sys-schema-stored-functions/ps_thread_stack.md)                                     | Returns all statements, stages, and events within the Performance Schema for a given thread\_id                                     | [MariaDB 10.6](/docs/release-notes/community-server/10.6/what-is-mariadb-106.md)                                                                                                                                                                                                                                                                                                                                                      |
| [SYS.PS\_THREAD\_TRX\_INFO](/docs/server/reference/system-tables/sys-schema/sys-schema-stored-functions/ps_thread_trx_info.md)                              | Returns a JSON object with information about the thread specified by the given thread\_id                                           | [MariaDB 10.6](/docs/release-notes/community-server/10.6/what-is-mariadb-106.md)                                                                                                                                                                                                                                                                                                                                                      |
| [SYS.QUOTE\_IDENTIFIER](/docs/server/reference/system-tables/sys-schema/sys-schema-stored-functions/quote_identifier.md)                                    | Quotes a string to produce a result that can be used as an identifier in an SQL statement                                           | [MariaDB 10.6](/docs/release-notes/community-server/10.6/what-is-mariadb-106.md)                                                                                                                                                                                                                                                                                                                                                      |
| [SYS.SYS\_GET\_CONFIG](/docs/server/reference/system-tables/sys-schema/sys-schema-stored-functions/sys_get_config.md)                                       | Returns a configuration option value from the sys\_config table                                                                     | [MariaDB 10.6](/docs/release-notes/community-server/10.6/what-is-mariadb-106.md)                                                                                                                                                                                                                                                                                                                                                      |
| [SYS.VERSION\_MAJOR](/docs/server/reference/system-tables/sys-schema/sys-schema-stored-functions/version_major.md)                                          | Returns the MariaDB Server major release version                                                                                    | [MariaDB 10.6](/docs/release-notes/community-server/10.6/what-is-mariadb-106.md)                                                                                                                                                                                                                                                                                                                                                      |
| [SYS.VERSION\_MINOR](/docs/server/reference/system-tables/sys-schema/sys-schema-stored-functions/version_minor.md)                                          | Returns the MariaDB Server minor release version                                                                                    | [MariaDB 10.6](/docs/release-notes/community-server/10.6/what-is-mariadb-106.md)                                                                                                                                                                                                                                                                                                                                                      |
| [SYS.VERSION\_PATCH](/docs/server/reference/system-tables/sys-schema/sys-schema-stored-functions/version_patch.md)                                          | Returns the MariaDB Server patch release version                                                                                    | [MariaDB 10.6](/docs/release-notes/community-server/10.6/what-is-mariadb-106.md)                                                                                                                                                                                                                                                                                                                                                      |
| [SYS\_GUID](/docs/server/reference/sql-functions/secondary-functions/miscellaneous-functions/sys_guid.md)                                                   | Generates a globally unique identifier                                                                                              |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [SYSDATE](/docs/server/reference/sql-functions/date-time-functions/sysdate.md)                                                                              | Returns the current date and time                                                                                                   |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [SYSTEM\_USER](/docs/server/reference/sql-functions/secondary-functions/information-functions/system_user.md)                                               | Synonym for USER()                                                                                                                  |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [TAN](/docs/server/reference/sql-functions/numeric-functions/tan.md)                                                                                        | Returns the tangent                                                                                                                 |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [TIME function](/docs/server/reference/sql-functions/date-time-functions/time-function.md)                                                                  | Extracts the time                                                                                                                   |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [TIMEDIFF](/docs/server/reference/sql-functions/date-time-functions/timediff.md)                                                                            | Returns the difference between two date/times                                                                                       |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [TIMESTAMP FUNCTION](/docs/server/reference/sql-functions/date-time-functions/timestamp-function.md)                                                        | Return the datetime, or add a time to a date/time                                                                                   |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [TIMESTAMPADD](/docs/server/reference/sql-functions/date-time-functions/timestampadd.md)                                                                    | Add interval to a date or datetime                                                                                                  |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [TIMESTAMPDIFF](/docs/server/reference/sql-functions/date-time-functions/timestampdiff.md)                                                                  | Difference between two datetimes                                                                                                    |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [TIME\_FORMAT](/docs/server/reference/sql-functions/date-time-functions/time_format.md)                                                                     | Formats the time value according to the format string                                                                               |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [TIME\_TO\_SEC](/docs/server/reference/sql-functions/date-time-functions/time_to_sec.md)                                                                    | Returns the time argument, converted to seconds                                                                                     |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [TO\_BASE64](/docs/server/reference/sql-functions/string-functions/to_base64.md)                                                                            | Converts a string to its base-64 encoded form                                                                                       |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [TO\_CHAR](/docs/server/reference/sql-functions/string-functions/to_char.md)                                                                                | Converts a date/time type to a char                                                                                                 |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [TO\_DAYS](/docs/server/reference/sql-functions/date-time-functions/to_days.md)                                                                             | Number of days since year 0                                                                                                         |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [TO\_NUMBER](/docs/server/reference/sql-functions/numeric-functions/to_number.md)                                                                           | Converts and expression to [NUMERIC](/docs/server/reference/data-types/numeric-data-types/numeric.md)                               | [MariaDB 12.2](/docs/release-notes/community-server/12.2/mariadb-12.2-changes-and-improvements.md)                                                                                                                                                                                                                                                                                                                                    |
| [TO\_SECONDS](/docs/server/reference/sql-functions/date-time-functions/to_seconds.md)                                                                       | Number of seconds since year 0                                                                                                      |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [TOUCHES](/docs/server/reference/sql-statements/geometry-constructors/geometry-relations/touches.md)                                                        | Whether two geometries spatially touch                                                                                              |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [TRIM](/docs/server/reference/sql-functions/string-functions/trim.md)                                                                                       | Returns a string with all given prefixes or suffixes removed                                                                        |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [TRUNC](/docs/server/reference/sql-functions/date-time-functions/trunc.md)                                                                                  | Returns a [DATETIME](/docs/server/reference/data-types/date-and-time-data-types/datetime.md) truncated according to a given format. | [MariaDB 12.2](/docs/release-notes/community-server/12.2/mariadb-12.2-changes-and-improvements.md)                                                                                                                                                                                                                                                                                                                                    |
| [TRUNCATE](/docs/server/reference/sql-functions/numeric-functions/truncate.md)                                                                              | Truncates X to D decimal places                                                                                                     |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [UCASE](/docs/server/reference/sql-functions/string-functions/ucase.md)                                                                                     | Synonym for UPPER]]\()                                                                                                              |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [UNHEX](/docs/server/reference/sql-functions/string-functions/unhex.md)                                                                                     | Interprets pairs of hex digits as a number and converts to the character represented by the number                                  |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [UNCOMPRESS](/docs/server/reference/sql-functions/secondary-functions/encryption-hashing-and-compression-functions/uncompress.md)                           | Uncompresses string compressed with COMPRESS()                                                                                      |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [UNCOMPRESSED\_LENGTH](/docs/server/reference/sql-functions/secondary-functions/encryption-hashing-and-compression-functions/uncompressed_length.md)        | Returns length of a string before being compressed with COMPRESS()                                                                  |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [UNIX\_TIMESTAMP](/docs/server/reference/sql-functions/date-time-functions/unix_timestamp.md)                                                               | Returns a Unix timestamp                                                                                                            |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [UPDATEXML](/docs/server/reference/sql-functions/string-functions/updatexml.md)                                                                             | Replace XML                                                                                                                         |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [UPPER](/docs/server/reference/sql-functions/string-functions/upper.md)                                                                                     | Changes string to uppercase                                                                                                         |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [USER](/docs/server/reference/sql-functions/secondary-functions/information-functions/user.md)                                                              | Current user/host                                                                                                                   |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [UTC\_DATE](/docs/server/reference/sql-functions/date-time-functions/utc_date.md)                                                                           | Returns the current UTC date                                                                                                        |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [UTC\_TIME](/docs/server/reference/sql-functions/date-time-functions/utc_time.md)                                                                           | Returns the current UTC time                                                                                                        |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [UTC\_TIMESTAMP](/docs/server/reference/sql-functions/date-time-functions/utc_timestamp.md)                                                                 | Returns the current UTC date and time                                                                                               |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [UUID](/docs/server/reference/sql-functions/secondary-functions/miscellaneous-functions/uuid.md)                                                            | Returns a Universal Unique Identifier v1                                                                                            |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [UUIDv4](/docs/server/reference/sql-functions/secondary-functions/miscellaneous-functions/uuid_v4.md)                                                       | Returns a Universal Unique Identifier v4                                                                                            | [MariaDB 11.7](/docs/release-notes/community-server/old-releases/11.7/what-is-mariadb-117.md)                                                                                                                                                                                                                                                                                                                                         |
| [UUIDv7](/docs/server/reference/sql-functions/secondary-functions/miscellaneous-functions/uuid_v7.md)                                                       | Returns a Universal Unique Identifier v7                                                                                            | [MariaDB 11.7](/docs/release-notes/community-server/old-releases/11.7/what-is-mariadb-117.md)                                                                                                                                                                                                                                                                                                                                         |
| [UUID\_SHORT](/docs/server/reference/sql-functions/secondary-functions/miscellaneous-functions/uuid_short.md)                                               | Return short universal identifier                                                                                                   |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [VALUES or VALUE](/docs/server/reference/sql-functions/secondary-functions/miscellaneous-functions/values-value.md)                                         | Refer to columns in INSERT ... ON DUPLICATE KEY UPDATE                                                                              |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [VAR\_POP](/docs/server/reference/sql-functions/aggregate-functions/var_pop.md)                                                                             | Population standard variance                                                                                                        |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [VAR\_SAMP](/docs/server/reference/sql-functions/aggregate-functions/var_samp.md)                                                                           | Returns the sample variance                                                                                                         |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [VARIANCE](/docs/server/reference/sql-functions/aggregate-functions/variance.md)                                                                            | Population standard variance                                                                                                        |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [VEC\_DISTANCE](/docs/server/reference/sql-functions/vector-functions/vector-functions-vec_distance.md)                                                     | Calculates either a Euclidean or Cosine distance between two vectors.                                                               | [MariaDB 11.8](/docs/release-notes/community-server/11.8/what-is-mariadb-118.md)                                                                                                                                                                                                                                                                                                                                                      |
| [VEC\_DISTANCE\_COSINE](/docs/server/reference/sql-functions/vector-functions/vec_distance_cosine.md)                                                       | Calculates a Cosine distance between two vectors.                                                                                   | [MariaDB 11.7](/docs/release-notes/community-server/old-releases/11.7/what-is-mariadb-117.md)                                                                                                                                                                                                                                                                                                                                         |
| [VEC\_DISTANCE\_EUCLIDEAN](/docs/server/reference/sql-functions/vector-functions/vec_distance_euclidean.md)                                                 | Calculates a Euclidean (L2) distance between two points.                                                                            | [MariaDB 11.7](/docs/release-notes/community-server/old-releases/11.7/what-is-mariadb-117.md)                                                                                                                                                                                                                                                                                                                                         |
| [VEC\_FromText](/docs/server/reference/sql-functions/vector-functions/vec_fromtext.md)                                                                      | Converts a text representation of the vector to a vector.                                                                           | [MariaDB 11.6.0](/docs/release-notes/community-server/old-releases/11.6/11.6.0.md) Vector                                                                                                                                                                                                                                                                                                                                             |
| [VEC\_ToText](/docs/server/reference/sql-functions/vector-functions/vec_totext.md)                                                                          | Converts a binary vector into a json array of numbers (floats).                                                                     | [MariaDB 11.6.0](/docs/release-notes/community-server/old-releases/11.6/11.6.0.md) Vector                                                                                                                                                                                                                                                                                                                                             |
| [VERSION](/docs/server/reference/sql-functions/secondary-functions/information-functions/version.md)                                                        | MariaDB server version                                                                                                              |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [WEEK](/docs/server/reference/sql-functions/date-time-functions/week.md)                                                                                    | Returns the week number                                                                                                             |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [WEEKDAY](/docs/server/reference/sql-functions/date-time-functions/weekday.md)                                                                              | Returns the weekday index                                                                                                           |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [WEEKOFYEAR](/docs/server/reference/sql-functions/date-time-functions/weekofyear.md)                                                                        | Returns the calendar week of the date as a number in the range from 1 to 53                                                         |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [WEIGHT\_STRING](/docs/server/reference/sql-functions/string-functions/weight_string.md)                                                                    | Weight of the input string                                                                                                          |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [WITHIN](/docs/server/reference/sql-statements/geometry-constructors/geometry-relations/within.md)                                                          | Indicate whether a geographic element is spacially within another                                                                   |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [WSREP\_LAST\_SEEN\_GTID](/docs/server/reference/sql-functions/special-functions/galera-functions/wsrep_last_seen_gtid.md)                                  | Returns the Global Transaction ID of the most recent write transaction observed by the client.                                      |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [WSREP\_LAST\_WRITTEN\_GTID](/docs/server/reference/sql-functions/special-functions/galera-functions/wsrep_last_written_gtid.md)                            | Returns the Global Transaction ID of the most recent write transaction performed by the client.                                     |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [WSREP\_SYNC\_WAIT\_UPTO\_GTID](/docs/server/reference/sql-functions/special-functions/galera-functions/wsrep_sync_wait_upto_gtid.md)                       | Blocks the client until the transaction specified by the given Global Transaction ID is applied and committed by the node           |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [X](/docs/server/reference/sql-statements/geometry-constructors/point-properties/st_x.md)                                                                   | Synonym for ST\_X                                                                                                                   |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [Y](/docs/server/reference/sql-statements/geometry-constructors/point-properties/st_y.md)                                                                   | Synonym for ST\_Y                                                                                                                   |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [YEAR](/docs/server/reference/sql-functions/date-time-functions/year.md)                                                                                    | Returns the year for the given date                                                                                                 |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [YEARWEEK](/docs/server/reference/sql-functions/date-time-functions/yearweek.md)                                                                            | Returns year and week for a date                                                                                                    |                                                                                                                                                                                                                                                                                                                                                                                                                                       |

<sub>*This page is licensed: CC BY-SA / Gnu FDL*</sub>

{% @marketo/form formId="4316" %}


---

# 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-functions/function-and-operator-reference.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.
