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,BINARYis a built-in operator that converts a given string to a binary string. -
CASE
In MariaDB,CASEis a built-in expression, which is similar to if-elseif-else, and is used for multi-branch situations in flow control. -
DIV
In MariaDB,DIVis a built-in operator that performs divisions and returns an integer result. -
EXCEPT
In MariaDB,EXCEPTis a built-in set operator that returns the difference of two result sets. -
INTERSECT
In MariaDB,INTERSECTis 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, theLIKEoperator matches a given string against a given pattern and returns the matching result. -
MINUS
In MariaDB,MINUSis a built-in set operator that returns the difference of two result sets. -
MOD
In MariaDB,MODis a built-in operator that returns the remainder when one number is divided by another. -
NOT LIKE
In MariaDB, theNOT LIKEoperator is negation operation of theLIKEoperator. -
REGEXP
In MariaDB, theREGEXPoperator checks whether a string matches a regular expression. -
RLIKE
In MariaDB, theRLIKEoperator checks whether a string matches a regular expression. -
UNION
In MariaDB,UNIONis a built-in set operator that returns the union of two result sets.