MariaDB Operators
This page organizes the commonly used MariaDB operators. Unlike functions, which take arguments in parentheses after the function name, operators require operands.
-
BINARY
In MariaDB,BINARY
is a built-in operator that converts a given string to a binary string. -
CASE
In MariaDB,CASE
is a built-in expression, which is similar to if-elseif-else, and is used for multi-branch situations in flow control. -
DIV
In MariaDB,DIV
is a built-in operator that performs divisions and returns an integer result. -
EXCEPT
In MariaDB,EXCEPT
is a built-in set operator that returns the difference of two result sets. -
INTERSECT
In MariaDB,INTERSECT
is a built-in set operator that returns the intersection of two result sets, that is, those rows existing in both result sets. -
LIKE
In MariaDB, theLIKE
operator matches a given string against a given pattern and returns the matching result. -
MINUS
In MariaDB,MINUS
is a built-in set operator that returns the difference of two result sets. -
MOD
In MariaDB,MOD
is a built-in operator that returns the remainder when one number is divided by another. -
NOT LIKE
In MariaDB, theNOT LIKE
operator is negation operation of theLIKE
operator. -
REGEXP
In MariaDB, theREGEXP
operator checks whether a string matches a regular expression. -
RLIKE
In MariaDB, theRLIKE
operator checks whether a string matches a regular expression. -
UNION
In MariaDB,UNION
is a built-in set operator that returns the union of two result sets.